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

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [eax*4 + 0x4c4eb0]
xor eax, eax
push esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
push edi
mov edi, eax
mov esi, eax
shr edi, 0x18
and eax, 0xffffff
shr esi, 0x1f
and edi, 0x7f
test eax, 0x800000
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], eax
je 0x4154af
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x14
mov ecx, esi
shl ecx, 5
add ecx, edi
lea ecx, [ecx + ecx*2]
shl ecx, 5
mov edx, dword [ecx + ebx + 0x14]
test edx, edx
lea ecx, [ecx + ebx + 0xc]
push ebp
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebp
je 0x4154e7
cmp eax, dword [edx + 0x44]
jae 0x4154e7
push eax
push edx
call fcn.00412ff0
add esp, 8
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x415548
mov al, byte [ebp + 0x100]
test al, al
je 0x4155aa
test esi, esi
lea eax, [ebx + 4]
jne 0x415503
lea eax, [ebx + 8]
mov esi, 0x4c5e8e
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x415530
test cl, cl
je 0x41552c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x415530
add eax, 2
add esi, 2
test cl, cl
jne 0x415508
xor eax, eax
jmp 0x415535
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4155aa
mov dword [esp + 0x20], 1
add ebp, 0x40
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
mov dword [esp + 0x44], eax
je 0x41595c
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
cmp byte [eax], 0x7c
jne 0x415587
mov eax, dword [esp + 0x24]
test eax, eax
je 0x415576
inc dword [esp + 0x14]
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
movsx eax, byte [ecx]
add eax, 0xffffff9f
xor esi, esi
cmp eax, 0x19
ja case.0x4155a3.98
movzx edx, byte [eax + 0x4159b8]
jmp dword [edx*4 + 0x415980]
mov dword [esp + 0x20], 0
jmp 0x415544
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4155da
mov eax, dword [eax]
push 1
push ebx
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
jmp 0x415769
push 1
push ebx
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
jmp 0x415769
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x415614
mov eax, dword [eax + 4]
push 1
push ebx
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
jmp 0x415769
push 1
push ebx
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
jmp 0x415769
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41564f
mov eax, dword [eax + 0x10]
push 1
push ebx
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
jmp 0x415769
push 1
push ebx
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
jmp 0x415769
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41568a
mov eax, dword [eax + 0x14]
push 1
push ebx
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
jmp 0x415769
push 1
push ebx
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
jmp 0x415769
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4156c5
mov eax, dword [eax + 0x18]
push 1
push ebx
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
jmp 0x415769
push 1
push ebx
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
jmp 0x415769
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4156fd
mov eax, dword [eax + 0x2c]
push 1
push ebx
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
jmp 0x415769
push 1
push ebx
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
jmp 0x415769
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x415732
mov eax, dword [eax + 0x20]
push 1
push ebx
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
jmp 0x415769
push 1
push ebx
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
jmp 0x415769
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41575b
mov eax, dword [eax + 0x1c]
jmp 0x41575d
xor eax, eax
push 1
push ebx
push ebp
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x58]
push edi
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
call fcn.0040f210
add esp, 0x28
jmp 0x41593a
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x4155a3.98
mov cl, byte [eax + 0x424]
test cl, cl
mov dword [esp + 0x4c], 0
jbe case.0x4155a3.98
mov ecx, eax
add ecx, 0x24
mov dword [esp + 0x50], ecx
jmp 0x4157c0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx]
test ecx, ecx
lea ecx, [eax + 0x41]
jne 0x4157d4
lea ecx, [eax + 1]
mov eax, dword [eax + 0x84]
mov edx, dword [esp + 0x14]
push 1
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x58]
push edi
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
call fcn.0040f210
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
add ecx, 4
mov esi, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], ecx
movzx ecx, byte [edx + 0x424]
add esp, 0x28
inc eax
cmp eax, ecx
mov dword [esp + 0x4c], eax
jl 0x4157c0
jmp 0x41593c
mov eax, dword [esp + 0x30]
test eax, eax
je case.0x4155a3.98
mov eax, dword [esp + 0x28]
test eax, eax
je case.0x4155a3.98
mov ecx, dword [eax + 0xc0]
add eax, 0xc0
test ecx, ecx
je case.0x4155a3.98
push 0
push 0
push 0
push 0
push 0
push 0x7a
push ebx
call ebp
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
push 0
push ebx
push ebp
push edx
mov edx, dword [esp + 0x40]
push 1
push eax
mov eax, dword [esp + 0x5c]
push edi
push ecx
mov ecx, dword [esp + 0x7c]
push edx
add eax, 0xc0
push eax
mov eax, dword [esp + 0x74]
push eax
push ecx
call fcn.0040f560
add esp, 0x4c
jmp 0x41593a
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push edx
mov edx, dword [esp + 0x50]
push edi
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
call fcn.00415260
add esp, 0x20
jmp 0x41593a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4158d4
mov eax, dword [eax + 0x28]
jmp 0x4158d6
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
push ebx
push ebp
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x2c]
push eax
call fcn.0040f490
mov edi, dword [esp + 0x50]
add esp, 0x18
jmp 0x41593a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41590f
mov eax, dword [eax + 0x24]
jmp 0x415911
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, edi
call fcn.0040f3a0
add esp, 0x1c
mov esi, eax
test esi, esi
je case.0x4155a3.98
inc dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov cl, byte [eax + 2]
add eax, 2
test cl, cl
mov dword [esp + 0x44], eax
jne 0x415561
jmp 0x415960
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
test eax, eax
pop ebp
je 0x415972
push eax
call fcn.0040a8f0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x2c
ret 0x14