Function at 0x46b170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x8c
push esi
mov esi, dword [esp + 0x94]
cmp esi, eax
je 0x46b74b
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push edi
lea ecx, [eax + 0x14]
lea edx, [eax + 0x24]
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0x34]
mov dword [esp + 0x94], edx
mov dword [esp + 0x1c], ecx
lea edx, [eax + 0x44]
lea ecx, [eax + 0x54]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x24], ecx
lea edx, [eax + 0x64]
lea ecx, [eax + 0x74]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x2c], ecx
lea edx, [eax + 0x84]
lea ecx, [eax + 0x94]
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], ecx
lea edx, [eax + 0xa4]
lea ecx, [eax + 0xb4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x3c], ecx
lea edx, [eax + 0xc4]
lea ecx, [eax + 0xd4]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x44], ecx
lea edx, [eax + 0xe4]
lea ecx, [eax + 0xf4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x4c], ecx
lea edx, [eax + 0x104]
lea ecx, [eax + 0x114]
mov dword [esp + 0x74], edx
mov dword [esp + 0x54], ecx
lea edx, [eax + 0x124]
lea ecx, [eax + 0x134]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
lea edx, [eax + 0x144]
lea ecx, [eax + 0x154]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
lea edx, [eax + 0x164]
lea ecx, [eax + 0x174]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
lea edx, [eax + 0x184]
lea ecx, [eax + 0x194]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
lea edx, [eax + 0x1a4]
lea ecx, [eax + 0x1b4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
lea edx, [eax + 0x1c4]
lea ecx, [eax + 0x1d4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], ecx
lea edx, [eax + 0x1e4]
lea ecx, [eax + 0x1f4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], ecx
lea edx, [eax + 0x204]
lea ecx, [eax + 0x214]
mov dword [esp + 0x80], edx
mov dword [esp + 0x88], ecx
lea edx, [eax + 0x224]
lea ecx, [eax + 0x234]
lea ebx, [eax + 4]
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], ecx
lea ebp, [eax + 0x244]
add esi, 0x248
mov edx, dword [0x4b8970]
lea ecx, [esi - 0x244]
push edx
push 0
push ebx
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x14]
push eax
push 0
push ecx
lea ecx, [esi - 0x234]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x94]
push edx
push 0
push eax
lea ecx, [esi - 0x224]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x1c]
push ecx
push 0
push edx
lea ecx, [esi - 0x214]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x5c]
push eax
push 0
push ecx
lea ecx, [esi - 0x204]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x24]
push edx
push 0
push eax
lea ecx, [esi - 0x1f4]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x7c]
push ecx
push 0
push edx
lea ecx, [esi - 0x1e4]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x2c]
push eax
push 0
push ecx
lea ecx, [esi - 0x1d4]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x64]
push edx
push 0
push eax
lea ecx, [esi - 0x1c4]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x34]
push ecx
push 0
push edx
lea ecx, [esi - 0x1b4]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x8c]
push eax
push 0
push ecx
lea ecx, [esi - 0x1a4]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x3c]
push edx
push 0
push eax
lea ecx, [esi - 0x194]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x6c]
push ecx
push 0
push edx
lea ecx, [esi - 0x184]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x44]
push eax
push 0
push ecx
lea ecx, [esi - 0x174]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x84]
push edx
push 0
push eax
lea ecx, [esi - 0x164]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x4c]
push ecx
push 0
push edx
lea ecx, [esi - 0x154]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x74]
push eax
push 0
push ecx
lea ecx, [esi - 0x144]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x54]
push edx
push 0
push eax
lea ecx, [esi - 0x134]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x10]
push ecx
push 0
push edx
lea ecx, [esi - 0x124]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x18]
push eax
push 0
push ecx
lea ecx, [esi - 0x114]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x20]
push edx
push 0
push eax
lea ecx, [esi - 0x104]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x28]
push ecx
push 0
push edx
lea ecx, [esi - 0xf4]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x30]
push eax
push 0
push ecx
lea ecx, [esi - 0xe4]
call fcn.0041d020
mov edx, dword [0x4b8970]
push edx
mov eax, dword [esp + 0x3c]
push 0
push eax
lea ecx, [esi - 0xd4]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x40]
push ecx
push 0
push edx
lea ecx, [esi - 0xc4]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x48]
push eax
push 0
push ecx
lea ecx, [esi - 0xb4]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x50]
push edx
push 0
push eax
lea ecx, [esi - 0xa4]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x58]
push ecx
push 0
push edx
lea ecx, [esi - 0x94]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x60]
push eax
push 0
push ecx
lea ecx, [esi - 0x84]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x68]
push edx
push 0
push eax
lea ecx, [esi - 0x74]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x70]
push ecx
push 0
push edx
lea ecx, [esi - 0x64]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x78]
push eax
push 0
push ecx
lea ecx, [esi - 0x54]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x80]
push edx
push 0
push eax
lea ecx, [esi - 0x44]
call fcn.0041d020
mov ecx, dword [0x4b8970]
mov edx, dword [esp + 0x88]
push ecx
push 0
push edx
lea ecx, [esi - 0x34]
call fcn.0041d020
mov eax, dword [0x4b8970]
mov ecx, dword [esp + 0x90]
push eax
push 0
push ecx
lea ecx, [esi - 0x24]
call fcn.0041d020
mov edx, dword [0x4b8970]
mov eax, dword [esp + 0x98]
push edx
push 0
push eax
lea ecx, [esi - 0x14]
call fcn.0041d020
mov eax, dword [ebp + 8]
mov ecx, dword [0x4b8970]
mov edi, eax
cmp ecx, edi
jae 0x46b686
mov edi, ecx
lea edx, [esi - 4]
cmp edx, ebp
jne 0x46b6a7
lea eax, [esi - 4]
push ecx
push edi
mov ecx, eax
call fcn.0041f1b0
push 0
push 0
lea ecx, [esi - 4]
call fcn.0041f1b0
jmp 0x46b720
test edi, edi
jbe 0x46b6ef
cmp edi, eax
jne 0x46b6ef
mov eax, dword [ebp + 4]
test eax, eax
jne 0x46b6bb
mov eax, 0x4b896c
cmp byte [eax - 1], 0xfe
jae 0x46b6ef
push 1
lea ecx, [esi - 4]
call fcn.0041c8a0
mov eax, dword [ebp + 4]
test eax, eax
jne 0x46b6d7
mov eax, 0x4b896c
mov dword [esi], eax
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ecx
mov edx, dword [ebp + 0xc]
mov dword [esi + 8], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x46b720
push 1
lea ecx, [esi - 4]
push edi
call fcn.0041ca30
test al, al
je 0x46b720
mov eax, dword [ebp + 4]
test eax, eax
jne 0x46b70a
mov eax, 0x4b896c
push edi
push eax
mov eax, dword [esi]
push eax
call fcn.0041bfb0
add esp, 0xc
lea ecx, [esi - 4]
push edi
call fcn.0041cee0
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
add eax, 0x254
add esi, 0x254
cmp eax, ecx
mov dword [esp + 0xa0], eax
jne 0x46b301
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x8c
ret