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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x228]
test eax, eax
push edi
mov dword [esp + 0x14], esi
jne 0x45439a
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0045f3c0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x4548fa
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x4548fa
mov ecx, esi
call fcn.004475d0
mov ecx, edi
mov ebp, eax
call fcn.004475d0
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x454458
test eax, eax
je 0x454458
mov edx, dword [esi + 0x1c0]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x1bc]
mov dword [esp + 0x24], edx
mov edx, dword [edi + 0x1c0]
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0x1bc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
push eax
mov ecx, esi
mov dword [esp + 0x60], edx
call fcn.004470d0
test eax, eax
jne 0x454475
mov ecx, esi
call fcn.00447640
mov ecx, edi
call fcn.00447640
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
cmp dword [esp + 0x88], 2
jne 0x4544e4
mov ecx, esi
call fcn.00447640
mov ecx, edi
call fcn.00447640
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
lea eax, [ecx + ebx]
lea ecx, [edx + ebp]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.00447710
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edi
push edx
push eax
push ebp
push ebx
mov ecx, esi
call fcn.00451dd0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
lea eax, [ecx + esi]
mov dword [edx + 4], ebx
lea ecx, [edi + ebx]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
call fcn.00447710
cmp dword [esp + 0x88], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx + 0x1c4]
mov edx, dword [eax + 0x1c4]
mov eax, dword [eax + 0x228]
mov dword [esp + 0x6c], ecx
jne 0x4546ab
cmp eax, 0x378
ja 0x454638
je 0x4545c7
sub eax, 0x22b
je 0x454560
sub eax, 0xa
jne 0x4548dc
imul ecx, dword [esp + 0x3c]
mov eax, edx
imul eax, ebx
add eax, ebp
lea eax, [eax + esi*2]
add ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
lea ebx, [ecx + esi*2]
mov ecx, dword [esp + 0x40]
add ecx, ecx
test edi, edi
mov dword [esp + 0x70], ecx
jle 0x4548dc
mov dword [esp + 0x88], edi
mov ecx, dword [esp + 0x70]
mov ebp, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
add eax, edx
add ebx, esi
dec ecx
mov dword [esp + 0x88], ecx
jne 0x454593
jmp 0x4548dc
mov eax, edx
imul eax, ebx
lea ebx, [ebp + esi*2]
add ebx, esi
mov esi, ecx
imul esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add eax, ebx
mov ebx, dword [esp + 0x10]
lea ebx, [ebx + ecx*2]
add ebx, ecx
mov ecx, dword [esp + 0x40]
add ebx, esi
test edi, edi
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x70], ecx
jle 0x4548dc
mov dword [esp + 0x88], edi
mov ecx, dword [esp + 0x70]
mov ebp, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
add eax, edx
add ebx, esi
dec ecx
mov dword [esp + 0x88], ecx
jne 0x454604
jmp 0x4548dc
cmp eax, 0x22b8
jne 0x4548dc
imul ecx, dword [esp + 0x3c]
mov eax, edx
imul eax, ebx
add eax, ebp
lea eax, [eax + esi*4]
add ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
lea ebx, [ecx + esi*4]
mov ecx, dword [esp + 0x40]
shl ecx, 2
test edi, edi
mov dword [esp + 0x70], ecx
jle 0x4548dc
mov dword [esp + 0x88], edi
mov ecx, dword [esp + 0x70]
mov ebp, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
add eax, edx
add ebx, esi
dec ecx
mov dword [esp + 0x88], ecx
jne 0x454677
jmp 0x4548dc
cmp eax, 0x378
ja 0x45485d
je 0x4547b2
sub eax, 0x22b
je 0x454742
sub eax, 0xa
jne 0x4548dc
mov eax, edx
imul eax, ebx
mov ebx, dword [esp + 0x10]
add eax, ebp
lea esi, [eax + esi*2]
mov eax, ecx
imul eax, dword [esp + 0x3c]
add eax, ebx
test edi, edi
mov ebx, dword [esp + 0x38]
lea ebp, [eax + ebx*2]
jle 0x4548dc
mov dword [esp + 0x88], edi
lea esp, [esp]
mov edi, dword [esp + 0x40]
test edi, edi
mov eax, ebp
jle 0x454728
mov ebx, esi
sub ebx, ebp
mov edi, edi
mov cx, word [eax]
cmp cx, 0x7e0
je 0x45471e
mov word [ebx + eax], cx
add eax, 2
dec edi
jne 0x454710
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x88]
add esi, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x454700
jmp 0x4548dc
mov eax, edx
imul eax, ebx
mov ebx, dword [esp + 0x10]
add eax, ebp
lea esi, [eax + esi*2]
mov eax, ecx
imul eax, dword [esp + 0x3c]
add eax, ebx
test edi, edi
mov ebx, dword [esp + 0x38]
lea ebp, [eax + ebx*2]
jle 0x4548dc
mov dword [esp + 0x88], edi
nop
mov edi, dword [esp + 0x40]
test edi, edi
mov eax, ebp
jle 0x454798
mov ebx, esi
sub ebx, ebp
mov edi, edi
mov cx, word [eax]
cmp cx, 0x3e0
je 0x45478e
mov word [ebx + eax], cx
add eax, 2
dec edi
jne 0x454780
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x88]
add esi, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x454770
jmp 0x4548dc
mov eax, edx
imul eax, ebx
lea ebx, [ebp + esi*2]
add ebx, esi
mov esi, ecx
imul esi, dword [esp + 0x3c]
lea ebp, [ebx + eax]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
lea ebx, [ebx + eax*2]
add ebx, eax
add ebx, esi
test edi, edi
mov dword [esp + 0x10], ebx
jle 0x4548dc
mov dword [esp + 0x70], edi
mov esi, dword [esp + 0x40]
test esi, esi
jle 0x454845
mov ecx, ebp
mov dword [esp + 0x88], ebp
lea eax, [ebx + 2]
sub ecx, ebx
lea esp, [esp]
mov bl, byte [eax - 2]
test bl, bl
jne 0x454811
cmp byte [eax - 1], 0xff
jne 0x454811
cmp byte [eax], bl
je 0x454826
mov edi, dword [esp + 0x88]
mov byte [edi], bl
mov bl, byte [eax - 1]
mov byte [eax + ecx - 1], bl
mov bl, byte [eax]
mov byte [eax + ecx], bl
mov ebx, dword [esp + 0x88]
add ebx, 3
add eax, 3
dec esi
mov dword [esp + 0x88], ebx
jne 0x454800
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
add ebx, ecx
add ebp, edx
dec eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x70], eax
jne 0x4547e6
jmp 0x4548dc
cmp eax, 0x22b8
jne 0x4548dc
imul ecx, dword [esp + 0x3c]
mov eax, edx
imul eax, ebx
add eax, ebp
lea ebx, [eax + esi*4]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
add ecx, esi
test edi, edi
mov dword [esp + 0x88], ebx
lea ebp, [ecx + eax*4]
jle 0x4548dc
mov dword [esp + 0x70], edi
nop
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, ebp
jle 0x4548bb
sub ebx, ebp
mov edi, eax
mov edi, edi
mov eax, dword [ecx]
mov esi, eax
and esi, 0xffffff
cmp esi, 0xff00
je 0x4548b5
mov dword [ebx + ecx], eax
add ecx, 4
dec edi
jne 0x4548a0
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add ebx, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x70], eax
jne 0x454890
mov ecx, dword [esp + 0x7c]
call fcn.00447640
mov ecx, dword [esp + 0x14]
call fcn.00447640
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x58
ret 0x20