Function at 0x460200
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x148
push ebx
mov ebx, dword [esp + 0x150]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
je 0x46025a
cmp byte [ebx], 0
je 0x46025a
push 0x4b3d20
push ebx
call fcn.00452340
mov esi, eax
add esp, 8
cmp esi, edi
mov dword [esp + 0x1c], esi
jne 0x460267
push ebx
lea eax, [esp + 0x98]
push str.Cant_load_model__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0xa0]
push edi
push ecx
push edi
call fcn.00452f30
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x148
ret
mov al, byte [esp + 0x168]
mov dword [esp + 0x20], edi
test al, al
mov byte [esp + 0x13], 0
jle 0x460bfa
mov ebx, dword [esp + 0x170]
mov ebp, dword [esp + 0x160]
jmp 0x460295
mov esi, dword [esp + 0x1c]
xor edi, edi
push esi
push 1
lea edx, [esp + 0x6c]
push 4
push edx
call fcn.004a4eb1
mov al, byte [esi + 0xc]
add esp, 0x10
test al, 0x10
jne 0x460c12
mov ax, word [esp + 0x66]
mov ecx, dword [esp + 0x64]
mov word [ebp + 0x22], ax
mov word [ebp + 0x20], cx
movsx eax, ax
movsx ecx, cx
lea edx, [eax + eax*4]
lea edx, [eax + edx*2]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
shl eax, 2
lea eax, [eax + edx*8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebp + 0x1c], eax
je 0x460c42
mov esi, eax
mov dword [ebp + 0x38], edi
movsx eax, word [ebp + 0x20]
mov ecx, eax
mov edx, eax
shl ecx, 4
shl edx, 4
add ecx, esi
add edx, eax
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x30], ecx
lea eax, [ecx + edx*4]
mov edi, ecx
mov dword [ebp + 0x34], eax
xor eax, eax
mov word [ebp + 0x24], ax
mov word [ebp + 0x26], ax
mov word [ebp + 0x28], ax
mov word [ebp + 0x2a], ax
cmp word [ebp + 0x20], ax
mov dword [esp + 0x18], eax
jle 0x4608ee
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push 1
push 0x3c
push edx
call fcn.004a4eb1
mov ax, word [esp + 0x34]
add esp, 0x10
mov word [edi], ax
mov cx, word [esp + 0x26]
mov word [edi + 2], cx
cmp word [esp + 0x26], 0xffff
je 0x460391
mov al, byte [esp + 0x16c]
test al, 1
je 0x460380
movsx dx, byte [esp + 0x164]
mov word [edi + 2], dx
test al, 2
je 0x460391
movsx ax, byte [esp + 0x164]
add word [edi + 2], ax
mov ax, word [edi + 2]
cmp ax, 0xffff
jl 0x4603a1
cmp ax, 0x26
jle 0x4603da
mov ecx, dword [esp + 0x15c]
movsx edx, ax
push ecx
push edx
lea eax, [esp + 0x9c]
push str.Dodgy_poly_texture_num__d_in__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0xa4]
push 0
push ecx
push 0
call fcn.00452f30
add esp, 0x1c
mov word [edi + 2], 0xffff
mov eax, dword [0x784ed0]
test eax, eax
je 0x460517
test byte [edi], 1
je 0x460498
mov edx, dword [esp + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x38]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x30]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x58]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [edi + 8], ecx
mov edx, dword [esp + 0x50]
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x54]
mov dword [edi + 0x10], eax
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x14], ecx
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x18], edx
mov eax, dword [esp + 0x40]
mov dword [edi + 0x1c], eax
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp + 0x34]
movsx eax, word [esp + 0x2e]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*8]
mov dword [edi + 0x34], edx
movsx eax, word [esp + 0x2c]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x34]
lea ecx, [eax + edx*8]
mov dword [edi + 0x38], ecx
mov ecx, dword [ebp + 0x34]
movsx eax, word [esp + 0x2a]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*8]
mov dword [edi + 0x3c], edx
movsx eax, word [esp + 0x28]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x34]
lea ecx, [eax + edx*8]
mov dword [edi + 0x40], ecx
jmp 0x4605ba
mov edx, dword [esp + 0x38]
mov dword [esi], edx
mov eax, dword [esp + 0x34]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x50]
mov dword [edi + 4], edx
mov eax, dword [esp + 0x54]
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x48]
mov dword [edi + 0xc], ecx
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x10], edx
mov eax, dword [esp + 0x40]
mov dword [edi + 0x14], eax
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp + 0x34]
movsx eax, word [esp + 0x2c]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*8]
mov dword [edi + 0x34], edx
movsx eax, word [esp + 0x2a]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x34]
lea ecx, [eax + edx*8]
mov dword [edi + 0x38], ecx
mov ecx, dword [ebp + 0x34]
movsx eax, word [esp + 0x28]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*8]
mov dword [edi + 0x3c], edx
jmp 0x4605ba
mov eax, dword [esp + 0x30]
mov dword [esi], eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x40]
mov dword [edi + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x48]
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x4c]
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x50]
mov dword [edi + 0x14], edx
mov eax, dword [esp + 0x54]
mov dword [edi + 0x18], eax
mov ecx, dword [esp + 0x58]
mov dword [edi + 0x1c], ecx
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x20], edx
movsx eax, word [esp + 0x28]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x34]
lea ecx, [eax + edx*8]
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp + 0x34]
movsx eax, word [esp + 0x2a]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*8]
mov dword [edi + 0x38], edx
movsx eax, word [esp + 0x2c]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x34]
lea ecx, [eax + edx*8]
mov dword [edi + 0x3c], ecx
mov ecx, dword [ebp + 0x34]
movsx eax, word [esp + 0x2e]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*8]
mov dword [edi + 0x40], edx
cmp ebx, 0x64
je 0x46071d
xor edx, edx
mov eax, 0x51eb851f
mov dl, byte [esi + 2]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
mov byte [esi + 2], dl
xor edx, edx
mov dl, byte [esi + 1]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov ecx, edx
mov eax, 0x51eb851f
shr ecx, 0x1f
add edx, ecx
mov byte [esi + 1], dl
xor edx, edx
mov dl, byte [esi]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
mov byte [esi], dl
xor edx, edx
mov dl, byte [esi + 6]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov ecx, edx
mov eax, 0x51eb851f
shr ecx, 0x1f
add edx, ecx
mov byte [esi + 6], dl
xor edx, edx
mov dl, byte [esi + 5]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
mov byte [esi + 5], dl
xor edx, edx
mov dl, byte [esi + 4]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov ecx, edx
mov eax, 0x51eb851f
shr ecx, 0x1f
add edx, ecx
mov byte [esi + 4], dl
xor edx, edx
mov dl, byte [esi + 0xa]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov byte [esi + 0xa], dl
xor edx, edx
mov dl, byte [esi + 9]
inc edx
imul edx, ebx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov ecx, edx
mov eax, 0x51eb851f
shr ecx, 0x1f
add edx, ecx
mov byte [esi + 9], dl
xor edx, edx
mov dl, byte [esi + 8]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
mov byte [esi + 8], dl
xor edx, edx
mov dl, byte [esi + 0xe]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov ecx, edx
mov eax, 0x51eb851f
shr ecx, 0x1f
add edx, ecx
mov byte [esi + 0xe], dl
xor edx, edx
mov dl, byte [esi + 0xd]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
mov byte [esi + 0xd], dl
xor edx, edx
mov dl, byte [esi + 0xc]
inc edx
imul edx, ebx
imul edx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov byte [esi + 0xc], dl
mov eax, dword [0x784eac]
test eax, eax
je 0x460870
mov eax, dword [esi]
xor edx, edx
mov dl, ah
mov dword [esp + 0x14], eax
mov eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
xor eax, eax
mov al, byte [esp + 0x16]
lea edx, [eax + eax*8]
lea edx, [eax + edx*2]
lea eax, [eax + edx*4]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x14]
and ecx, 0xff
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [ecx + edx*4]
add eax, ecx
xor ecx, ecx
sar eax, 8
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov eax, dword [esi + 4]
mov cl, ah
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esi], edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
xor eax, eax
mov al, byte [esp + 0x16]
lea ecx, [eax + eax*8]
lea ecx, [eax + ecx*2]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
and ecx, 0xff
lea eax, [eax + edx*2]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [ecx + edx*4]
add eax, ecx
xor ecx, ecx
sar eax, 8
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov eax, dword [esi + 8]
mov cl, ah
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esi + 4], edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
xor eax, eax
mov al, byte [esp + 0x16]
lea ecx, [eax + eax*8]
lea ecx, [eax + ecx*2]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
and ecx, 0xff
lea eax, [eax + edx*2]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [ecx + edx*4]
add eax, ecx
sar eax, 8
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov cl, ah
mov dword [esp + 0x14], eax
mov eax, ecx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
xor eax, eax
mov al, byte [esp + 0x16]
lea ecx, [eax + eax*8]
lea ecx, [eax + ecx*2]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
and ecx, 0xff
lea eax, [eax + edx*2]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [ecx + edx*4]
add eax, ecx
sar eax, 8
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [esi + 0xc], edx
cmp word [edi + 2], 0xffff
jne 0x4608b3
mov ecx, 0x3f640000
mov eax, 0x3f5c0000
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], ecx
mov ecx, 0x3f248000
mov word [edi + 2], 0x1b
mov dword [edi + 4], eax
mov dword [edi + 8], 0x3f1c0000
mov dword [edi + 0x10], 0x3f1c8000
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
cmp word [edi + 2], 0xffff
je 0x4608c4
test byte [edi], 1
je 0x4608be
inc word [ebp + 0x24]
jmp 0x4608d3
inc word [ebp + 0x26]
jmp 0x4608d3
test byte [edi], 1
je 0x4608cf
inc word [ebp + 0x28]
jmp 0x4608d3
inc word [ebp + 0x2a]
mov eax, dword [esp + 0x18]
add esi, 0x10
movsx ecx, word [ebp + 0x20]
inc eax
add edi, 0x44
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x460339
movsx edi, word [ebp + 0x20]
mov edx, dword [ebp + 0x30]
dec edi
mov dword [esp + 0x78], edx
mov dword [esp + 0x60], edi
je 0x460a0d
test edi, edi
jle 0x460a02
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edi
lea edx, [eax + 0x44]
mov cl, byte [edx - 0x44]
lea eax, [edx - 0x44]
and ecx, 1
cmp word [edx - 0x42], 0xffff
mov esi, ecx
je 0x460937
add esi, 0x100
mov cl, byte [edx]
and ecx, 1
cmp word [edx + 2], 0xffff
je 0x460949
add ecx, 0x100
cmp ecx, esi
jle 0x4609e5
mov ecx, 0x11
mov esi, eax
lea edi, [esp + 0x114]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x11
mov esi, edx
mov edi, eax
mov eax, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x11
lea esi, [esp + 0x114]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2c]
add eax, ecx
mov esi, eax
mov edi, dword [esi]
mov dword [esp + 0x68], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x6c], edi
mov edi, dword [esi + 8]
mov dword [esp + 0x70], edi
mov esi, dword [esi + 0xc]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x14]
add esi, 0x10
add ecx, esi
mov edi, dword [ecx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + 8]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x60]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x68]
add eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 0x44
add ecx, 0x10
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x46091f
dec edi
mov dword [esp + 0x60], edi
jne 0x460904
mov eax, 0x497423f0
xor edi, edi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 4], eax
mov eax, 0xc97423f0
mov dword [ebp], 0
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], eax
cmp word [ebp + 0x22], di
jle 0x460b86
xor esi, esi
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x7c]
push edx
push 1
push 0x18
push eax
call fcn.004a4eb1
mov ecx, dword [ebp + 0x34]
add esp, 0x10
fld dword [esp + 0x7c]
fstp dword [esi + ecx]
mov edx, dword [ebp + 0x34]
fld dword [esp + 0x80]
fstp dword [esi + edx + 4]
mov eax, dword [ebp + 0x34]
fld dword [esp + 0x84]
fstp dword [esi + eax + 8]
mov ecx, dword [ebp + 0x34]
fld dword [esp + 0x88]
fstp dword [esi + ecx + 0x18]
mov edx, dword [ebp + 0x34]
fld dword [esp + 0x8c]
fstp dword [esi + edx + 0x1c]
mov eax, dword [ebp + 0x34]
fld dword [esp + 0x90]
fstp dword [esi + eax + 0x20]
mov ecx, dword [ebp + 0x34]
fld dword [esi + ecx + 8]
fld dword [esi + ecx + 4]
fld dword [esi + ecx]
lea eax, [esi + ecx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [ebp]
fnstsw ax
test ah, 0x41
jne 0x460adc
fstp dword [ebp]
jmp 0x460ade
fstp st(0)
mov edx, dword [ebp + 0x34]
fld dword [esi + edx]
fcomp dword [ebp + 4]
fnstsw ax
test ah, 1
je 0x460af6
mov eax, edx
mov ecx, dword [esi + eax]
mov dword [ebp + 4], ecx
mov edx, dword [ebp + 0x34]
fld dword [esi + edx]
fcomp dword [ebp + 8]
fnstsw ax
test ah, 0x41
jne 0x460b0e
mov eax, edx
mov ecx, dword [esi + eax]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0x34]
fld dword [esi + edx + 4]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 1
je 0x460b28
mov eax, edx
mov ecx, dword [esi + eax + 4]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x34]
fld dword [esi + edx + 4]
fcomp dword [ebp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x460b42
mov eax, edx
mov ecx, dword [esi + eax + 4]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x34]
fld dword [esi + edx + 8]
fcomp dword [ebp + 0x14]
fnstsw ax
test ah, 1
je 0x460b5c
mov eax, edx
mov ecx, dword [esi + eax + 8]
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp + 0x34]
fld dword [esi + edx + 8]
fcomp dword [ebp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x460b76
mov eax, edx
mov ecx, dword [esi + eax + 8]
mov dword [ebp + 0x18], ecx
movsx edx, word [ebp + 0x22]
inc edi
add esi, 0x58
cmp edi, edx
jl 0x460a3e
mov eax, dword [ebp + 0x30]
xor edi, edi
cmp word [ebp + 0x20], di
jle 0x460bd1
lea esi, [eax + 0x3c]
mov eax, dword [0x784ed0]
test eax, eax
je 0x460bae
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
lea eax, [esi - 0x18]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
jmp 0x460bbd
mov edx, dword [esi]
mov eax, dword [esi - 4]
lea ecx, [esi - 0x18]
push ecx
mov ecx, dword [esi - 8]
push edx
push eax
push ecx
call fcn.00444890
movsx edx, word [ebp + 0x20]
add esp, 0x10
inc edi
add esi, 0x44
cmp edi, edx
jl 0x460b94
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
mov cl, byte [esp + 0x168]
inc al
add ebp, 0x3c
inc edx
cmp al, cl
mov byte [esp + 0x13], al
mov dword [esp + 0x20], edx
jl 0x46028f
mov esi, dword [esp + 0x1c]
push esi
call fcn.004a4e34
mov eax, dword [esp + 0x24]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x168]
cmp al, cl
jge 0x460bfa
movsx edx, al
movsx eax, cl
add ebp, 0x22
sub eax, edx
mov word [ebp - 2], di
mov word [ebp], di
mov dword [ebp - 6], edi
mov dword [ebp + 0x16], edi
add ebp, 0x3c
dec eax
jne 0x460c2c
jmp 0x460bfa
movsx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x15c]
push eax
push ecx
lea edx, [esp + 0x9c]
push str.Cant_alloc_memory_for__s___d_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0xa4]
push edi
push eax
push str.ERROR
call fcn.00452f30
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret