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

Disassembly:
sub esp, 0x1fc
mov eax, dword [0x4fa5ac]
xor eax, esp
mov dword [esp + 0x1f8], eax
mov eax, dword [esp + 0x200]
mov ecx, dword [esp + 0x208]
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x228]
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x22c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x480932
cmp dword [ebp], 0
jg 0x480932
test esi, esi
jne 0x48027a
mov dword [ebp], 1
xor eax, eax
jmp 0x480934
mov edx, dword [esp + 0x214]
and edx, 0xf0000000
cmp edx, 0x30000000
jne 0x4807b2
cmp dword [esp + 0x228], 0x100
jge 0x4807a6
mov ecx, dword [esp + 0x214]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push ecx
push edx
mov dword [esp + 0x3c], 0
call fcn.0048e2f0
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x10], eax
test edx, edx
jle 0x48079a
mov eax, dword [esi + 0x10]
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x4802f1
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4802e5
sub eax, ebx
inc eax
jmp 0x4802f3
xor eax, eax
cmp eax, edx
mov dword [esp + 0x1c], eax
jge 0x480301
mov eax, edx
mov dword [esp + 0x1c], eax
cmp eax, 0xc8
ja 0x48031d
lea esi, [esp + 0x140]
mov dword [esp + 0x1c], 0xc8
mov dword [esp + 0x24], esi
jmp 0x480342
push eax
call fcn.0045bb10
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
jne 0x48033e
mov dword [ebp], 7
xor eax, eax
jmp 0x480934
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push edx
push esi
push eax
call fcn.004723c0
add esp, 0xc
cmp byte [esi], 0x2f
push 0x2f
jne 0x48042e
lea ebp, [esi + 1]
push ebp
call fcn.004554a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x48037c
push eax
push esi
call fcn.004554a0
add esp, 8
mov ebx, eax
jmp 0x480380
mov byte [ebx], 0
inc ebx
mov eax, ebp
mov dword [esp + 0x14], eax
mov ecx, str.LOCALE
jmp 0x480390
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4803b0
test dl, dl
je 0x4803ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4803b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x480390
xor eax, eax
jmp 0x4803b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4803d8
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov ebp, ebx
mov ebx, dword [edx]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ecx
jmp 0x480457
mov eax, dword [esp + 0x14]
mov ecx, str.ICUDATA
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x480401
test dl, dl
je 0x4803fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x480401
add eax, 2
add ecx, 2
test dl, dl
jne 0x4803e1
xor eax, eax
jmp 0x480406
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48040e
mov dword [esp + 0x14], eax
push 0x2f
push ebx
call fcn.004554a0
mov ebp, eax
add esp, 8
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x480457
mov byte [ebp], 0
inc ebp
mov dword [esp + 0x28], ebp
jmp 0x480457
push esi
mov ebx, esi
call fcn.004554a0
mov ebp, eax
add esp, 8
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x48044c
mov byte [ebp], 0
inc ebp
mov dword [esp + 0x28], ebp
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
xor eax, eax
push ebx
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
call fcn.00480100
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x2c], ebx
test eax, eax
jg 0x480760
test ebp, ebp
jne 0x48060b
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4804d5
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4804a5
mov eax, dword [ebx + 0x74]
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [ebx + 0x14]
push ecx
mov dword [esp + 0x24], ebp
call fcn.0048e6b0
add esp, 0x10
mov esi, eax
jmp 0x4804dc
mov esi, dword [ebx + 0x74]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x48057d
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4804f1
sub eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jle 0x480558
lea edx, [esp + 0x140]
push eax
cmp ebp, edx
jne 0x480523
call fcn.0045bb10
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
jmp 0x480532
push ebp
call fcn.0045bb50
add esp, 8
mov ebp, eax
mov dword [esp + 0x24], eax
test ebp, ebp
jne 0x480550
push ebx
call fcn.0047f320
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax], 7
xor eax, eax
jmp 0x480934
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push eax
push edx
push ebp
call fcn.0043b7e0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [ebx + 0x14]
push esi
push eax
mov dword [esp + 0x30], ebp
call fcn.0048e6b0
add esp, 0x1c
jmp 0x4805c0
mov ecx, dword [esp + 0x21c]
cmp ecx, 0xffffffff
je 0x4805c2
mov eax, esi
shr eax, 0x1c
cmp eax, 2
je 0x4805ad
cmp eax, 5
je 0x4805ad
cmp eax, 4
je 0x4805ad
push ecx
lea ecx, [ebx + 0x14]
push esi
push ecx
call fcn.0048e650
add esp, 0xc
jmp 0x4805c0
lea edx, [esp + 0x14]
push edx
push ecx
lea eax, [ebx + 0x14]
push esi
push eax
call fcn.0048e4d0
add esp, 0x10
mov esi, eax
cmp esi, 0xffffffff
je 0x4805f8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x228]
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
inc edx
push edx
push ebx
push eax
push 0xffffffffffffffff
push ecx
push esi
add ebx, 0x14
push ebx
call fcn.00480200
add esp, 0x24
mov dword [esp + 0x20], eax
jmp 0x480766
mov edx, dword [esp + 0x18]
mov dword [edx], 2
mov dword [esp + 0x20], edi
jmp 0x480766
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 4]
lea esi, [esp + 0x40]
mov ecx, esi
mov eax, ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480625
sub eax, edx
cmp eax, 0x100
jbe 0x48066c
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480640
sub eax, edx
inc eax
push eax
call fcn.0045bb10
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
jne 0x48066c
mov edx, dword [esp + 0x18]
mov dword [edx], 7
jmp 0x480934
mov edx, esi
sub edx, ebp
mov eax, ebp
mov dword [esp + 0x10], edx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x480676
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
lea esp, [esp]
cmp byte [eax], 0
mov esi, dword [ebx + 0x24]
je 0x480716
jmp 0x4806a8
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
jg 0x480716
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
lea ebp, [ebx + 0x14]
push esi
push ebp
call fcn.0048e6b0
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
je 0x48070e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
inc edx
push edx
push eax
push ebx
push 0xffffffffffffffff
push ecx
push esi
push ebp
call fcn.00480200
mov edi, eax
add esp, 0x24
mov dword [esp + 0x20], edi
test edi, edi
je 0x480705
mov esi, dword [edi + 0x74]
mov ebx, dword [edi + 4]
mov edx, dword [esp + 0x1c]
cmp byte [edx], 0
jne 0x4806a0
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ebx, dword [ebx + 8]
mov eax, ebp
jmp 0x480720
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x480720
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
cmp esi, 0xffffffff
jne 0x48074d
test ebx, ebx
jne 0x480690
mov ecx, dword [esp + 0x18]
mov dword [ecx], 2
mov dword [esp + 0x20], edi
lea edx, [esp + 0x40]
cmp eax, edx
je 0x480766
push eax
call fcn.0045bbf0
add esp, 4
jmp 0x480766
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x48077e
push eax
call fcn.0045bbf0
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
cmp eax, esi
je 0x480793
push eax
call fcn.0047f320
add esp, 4
mov eax, esi
jmp 0x480934
mov dword [ebp], 1
jmp 0x480932
mov dword [ebp], 0x18
jmp 0x480932
test edi, edi
jne 0x4807e8
push 0x8c
call fcn.0045bb10
mov edi, eax
xor eax, eax
add esp, 4
cmp edi, eax
je 0x480330
mov dword [edi + 0x7c], 0x12c9b17
mov dword [edi + 0x80], 0x12bb38b
mov dword [edi + 0x10], eax
mov dword [edi + 0x70], eax
jmp 0x480815
mov eax, dword [edi + 4]
test eax, eax
je 0x4807fa
mov esi, eax
call fcn.0047f1b0
mov esi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
test eax, eax
je 0x48080a
push eax
call fcn.0045bbf0
add esp, 4
cmp esi, edi
je 0x480815
mov esi, edi
call fcn.0047f280
mov esi, ebx
mov dword [edi + 4], ebx
call fcn.0047ed10
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov byte [edi + 0x78], 0
mov byte [edi + 0x79], 0
mov dword [edi + 0x84], 0xffffffff
mov dword [edi], ebx
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x480860
cmp eax, edi
je 0x480860
mov edx, dword [eax + 0x70]
mov esi, ebp
push esi
push edx
push ecx
mov eax, edi
call fcn.0047f1e0
add esp, 0xc
jmp 0x480862
mov esi, ebp
test ebx, ebx
je 0x480893
mov eax, ebx
lea edx, [eax + 1]
jmp 0x480870
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480870
sub eax, edx
push esi
push eax
push ebx
mov eax, edi
call fcn.0047f1e0
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x10]
add esp, 0xc
cmp byte [eax + ecx - 1], 0x2f
jmp 0x4808c7
mov eax, dword [esp + 0x21c]
test eax, eax
jl 0x4808db
push 0xa
push eax
lea edx, [esp + 0x48]
push edx
call fcn.0045b9d0
push esi
push eax
lea eax, [esp + 0x54]
push eax
mov eax, edi
call fcn.0047f1e0
mov ecx, dword [edi + 0x70]
mov edx, dword [edi + 0x10]
add esp, 0x18
cmp byte [ecx + edx - 1], 0x2f
je 0x4808db
push esi
push 1
push 0x4bf174
mov eax, edi
call fcn.0047f1e0
add esp, 0xc
lea eax, [edi + 0x30]
cmp eax, dword [edi + 0x10]
jne 0x4808e8
mov eax, dword [edi + 0x70]
jmp 0x4808ea
xor eax, eax
mov ecx, 0x40
sub ecx, eax
push ecx
lea edx, [edi + eax + 0x30]
push 0
push edx
call fcn.004395a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x220]
push 0x1c
push ecx
lea esi, [edi + 0x14]
push esi
mov dword [edi + 8], 0
mov dword [edi + 0x74], eax
call fcn.00440620
mov edx, dword [edi + 0x74]
push edx
push esi
call fcn.0048e340
add esp, 0x20
mov dword [edi + 0x88], eax
mov eax, edi
mov ecx, dword [esp + 0x208]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439589
add esp, 0x1fc
ret