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

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x58]
push esi
push edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x2c]
mov edx, dword [ebx + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x40], 0x10
push eax
push ecx
push edx
mov dword [esp + 0x54], 8
mov dword [esp + 0x50], str.UNKNOWN
call fcn.00418530
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x455705
mov eax, dword [ebx]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], eax
xor eax, eax
and ecx, 1
push ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x45539a
mov edi, dword [esp + 0x70]
mov cx, word [edi + 0x14]
cmp eax, ecx
jae 0x4556d4
jmp 0x45539e
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x2c]
push 0
push edx
mov edx, dword [esp + 0x74]
push ecx
push 0
push eax
push edx
push edi
push ebx
call fcn.0041ffc0
mov esi, eax
add esp, 0x20
cmp esi, 0xffff8756
je 0x4556d4
test esi, esi
jne 0x455662
mov ebp, dword [ebx + 0x1d4]
mov ecx, ebp
and ecx, 0x800
je 0x4553e9
mov eax, 0x26
jmp 0x4553f4
mov eax, ebp
and al, 1
neg al
sbb eax, eax
and eax, 6
mov edx, dword [esp + 0x14]
lea eax, [eax + edx*2 + 0x1a]
xor edx, edx
mov dx, word [eax + edi]
mov eax, dword [esp + 0x14]
add edx, edi
test eax, eax
mov dword [esp + 0x28], edx
jne 0x455414
mov eax, dword [ebx]
jmp 0x45543c
test ecx, ecx
je 0x45541f
mov eax, 0x26
jmp 0x45542a
mov eax, ebp
and al, 1
neg al
sbb eax, eax
and eax, 6
mov ebx, dword [esp + 0x14]
lea ebx, [eax + ebx*2 + 0x18]
xor eax, eax
mov ax, word [ebx + edi]
mov ebx, dword [esp + 0x64]
test ecx, ecx
je 0x455447
mov ebp, 0x26
jmp 0x455455
mov ecx, ebp
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 6
mov ebp, ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ebp + ecx*2 + 0x1a]
sub ax, word [ecx + edi]
mov ecx, dword [ebx]
dec eax
and eax, 0xffff
mov ebp, eax
mov dword [esp + 0x1c], eax
sub ebp, edi
add ebp, edx
cmp ebp, ecx
jbe 0x455498
mov eax, dword [esp + 0x20]
test eax, eax
je 0x455662
sub ecx, edx
add ecx, edi
mov edi, 0xffff86fc
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edi
mov eax, ecx
jmp 0x45549d
mov edi, 0xffff86fc
xor ecx, ecx
mov cl, byte [edx]
dec ecx
cmp ecx, 3
ja case.default.0x4554ab
jmp dword [ecx*4 + 0x455710]
cmp eax, 0xc
jae 0x4554c0
mov dword [esp + 0x10], edi
jmp 0x455662
mov eax, dword [esp + 0x7c]
mov edx, dword [edx + 4]
mov edi, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x34]
push ecx
push eax
push edx
push edi
push ebx
call fcn.004564d0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x455511
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push edi
push 0
push ecx
push edx
push 0x4b04c0
lea eax, [esp + 0x5c]
push 0
push eax
mov dword [esp + 0x2c], esi
call fcn.0044ea70
add esp, 0x1c
jmp 0x455662
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push edi
push 0
push ecx
push edx
push 0x4b04c0
lea eax, [esp + 0x44]
push 0
push eax
jmp 0x4556c0
cmp eax, 0xc
jae 0x45553d
mov dword [esp + 0x10], edi
jmp 0x455662
mov eax, dword [esp + 0x68]
mov edx, dword [edx + 4]
cmp edx, dword [eax + 0x1c]
ja 0x455577
test byte [esp + 0x14], 1
je 0x455577
mov ecx, dword [esp + 0x7c]
or ecx, 0x80000
push ecx
mov ecx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x7c]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push ebx
call fcn.004202b0
jmp 0x4556c5
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push 0
push edx
push eax
push 0x4b04c0
push 0
lea ecx, [esp + 0x60]
jmp 0x4556bf
test byte [esp + 0x14], 1
jne 0x4555b4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], 0
test ecx, ecx
jne case.0x4554ab.1
jmp 0x455662
cmp eax, 5
jae 0x4555c2
mov dword [esp + 0x10], edi
jmp 0x455662
xor ebx, ebx
cmp eax, 2
jbe 0x45565e
jmp 0x4555d3
mov edx, dword [esp + 0x28]
mov dx, word [edx]
mov eax, dword [esp + 0x1c]
mov word [esp + 0x24], dx
mov ebp, dword [esp + 0x24]
add ebx, 2
lea ecx, [ebx + ebp]
cmp ecx, eax
jbe 0x4555f5
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
lea esi, [ebx + edx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x68]
mov ecx, eax
mov eax, dword [esp + 0x78]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x78]
push 0
push eax
push ecx
push 0x4b04c0
lea edx, [esp + 0x44]
push 0
push edx
mov dword [esp + 0x50], ebp
call fcn.0044ea70
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x45564b
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x1c]
lea ebx, [ebx + ebp + 2]
lea eax, [ebx + 2]
cmp eax, ecx
jb 0x4555cf
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x14], eax
jmp 0x455384
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x455662
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x18]
mov ecx, eax
lea esi, [edx + 1]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x78]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
push 0
push edx
push eax
push 0x4b04c0
push 0
lea ecx, [esp + 0x48]
push ecx
call fcn.0044ea70
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x455662
mov dword [esp + 0x10], esi
jmp 0x455662
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x14]
push edx
push eax
call fcn.00418640
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ecx
push edx
call fcn.004506e0
add esp, 0x10
test eax, eax
pop ebp
jne 0x455707
test esi, esi
jne 0x455705
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x455707
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x50
ret