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

Disassembly:
push 0xffffffffffffffff
push 0x4cd19f
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4f8458]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f8458]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x134]
xor esi, esi
xor ebx, ebx
mov ecx, dword [ebp + 0x5c]
cmp ecx, esi
je 0x45e2bf
mov eax, dword [ebp + 0x60]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x45e2bf
cmp ecx, esi
je 0x45e299
mov eax, dword [ebp + 0x60]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x45e29e
call fcn.0049458d
mov eax, dword [ebp + 0x5c]
mov edi, dword [eax + ebx*4]
push esi
push edi
push ebp
call fcn.00470cc0
cmp edi, esi
je 0x45e2ba
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
add ebx, 1
jmp 0x45e276
mov ebx, dword [ebp + 0x60]
cmp ecx, ebx
jbe 0x45e2cb
call fcn.0049458d
mov edi, dword [ebp + 0x5c]
cmp edi, dword [ebp + 0x60]
jbe 0x45e2d8
call fcn.0049458d
cmp edi, ebx
je 0x45e309
mov eax, dword [ebp + 0x60]
sub eax, ebx
sar eax, 2
cmp eax, esi
lea ecx, [eax*4]
lea edx, [ecx + edi]
mov dword [esp + 0x18], edx
jle 0x45e302
push ecx
push ebx
push ecx
push edi
call fcn.00493b74
add esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x60], eax
call fcn.00459c80
mov ebx, eax
push ebx
call fcn.0045a6f0
call fcn.0045bb10
call fcn.00459c80
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x38], ecx
call fcn.00459c80
mov edx, dword [eax + 0x38]
add eax, 0x34
cmp edx, esi
jne 0x45e33f
mov dword [esp + 0x20], esi
jmp 0x45e386
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x38e38e39
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
mov dword [esp + 0x20], eax
jle 0x45e386
mov ecx, eax
add ecx, 1
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2 - 1]
cmp eax, 8
mov dword [esp + 0x20], eax
jl 0x45e386
mov dword [esp + 0x20], 8
call fcn.00459c80
mov edx, dword [eax + 0x38]
add eax, 0x34
cmp edx, esi
jne 0x45e399
xor eax, eax
jmp 0x45e3af
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x38e38e39
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [esp + 0x20]
sub eax, ecx
xor ebx, ebx
cmp ecx, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ebx
jle 0x45e7dc
lea eax, [eax + eax*8]
shl eax, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], eax
jmp 0x45e3e0
mov eax, 7
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], esi
mov word [esp + 0x90], si
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], esi
mov word [esp + 0xac], si
mov dword [esp + 0xdc], eax
mov dword [esp + 0xd8], esi
mov word [esp + 0xc8], si
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf4], esi
mov word [esp + 0xe4], si
mov dword [esp + 0xfc], 1
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x12c], esi
call fcn.00459c80
mov edi, eax
mov eax, dword [edi + 0x38]
add edi, 0x34
cmp eax, esi
je 0x45e4a4
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x45e4a9
call fcn.0049458d
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x28]
cmp dword [edx + eax + 0x74], 0x7d0
jae 0x45e4f3
call fcn.00459c80
mov edi, eax
mov eax, dword [edi + 0x38]
add edi, 0x34
cmp eax, esi
je 0x45e4e5
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x45e4ea
call fcn.0049458d
mov edi, dword [edi + 4]
add edi, dword [esp + 0x28]
jmp 0x45e530
call fcn.00459c80
mov edi, eax
mov eax, dword [edi + 0x38]
add edi, 0x34
cmp eax, esi
je 0x45e524
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x40]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, ebx
cmp ecx, eax
jb 0x45e529
call fcn.0049458d
mov edi, dword [edi + 4]
add edi, dword [esp + 0x18]
lea esi, [esp + 0x8c]
call fcn.00439610
xor edi, edi
push 0xffffffffffffffff
mov esi, 7
push edi
lea eax, [esp + 0x94]
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], edi
mov word [esp + 0x58], di
call fcn.00402780
mov byte [esp + 0x12c], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], di
call fcn.00402780
mov byte [esp + 0x12c], 2
mov edx, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
push 0xa4
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
call fcn.00493af6
add esp, 4
cmp eax, edi
je 0x45e5c7
call fcn.0045dd10
mov edi, eax
mov ecx, dword [ebp + 0x98]
mov eax, ebx
cdq
idiv ecx
mov ecx, dword [ebp + 0x90]
mov ebx, dword [ebp + 0x8c]
add esi, 0x4d8
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], edi
mov esi, eax
mov eax, dword [ebp + 0x88]
add ecx, eax
imul ecx, edx
mov edx, dword [ebp + 0x94]
add ecx, dword [ebp + 0x80]
add edx, ebx
imul edx, esi
add edx, dword [ebp + 0x84]
cmp dword [esp + 0x88], 8
mov esi, dword [esp + 0x74]
jae 0x45e622
lea esi, [esp + 0x74]
push ebx
push edx
push ecx
push ebp
mov ebx, esi
mov ecx, edi
call fcn.0045dec0
mov eax, dword [esp + 0x24]
mov dword [edi + 0x1c], eax
cmp dword [esp + 0x64], 8
mov edx, dword [esp + 0x50]
jae 0x45e645
lea edx, [esp + 0x50]
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e650
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [edi + 0x48]
call fcn.004028c0
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x38], edx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x28], ecx
jne 0x45e6f6
mov esi, dword [edi + 0x20]
mov dword [edi + 0xa0], 1
cmp dword [esi + 0xc], 0
lea ebx, [edi + 4]
je 0x45e69f
mov eax, dword [esi + 8]
push 1
push ebx
push eax
call dword [0x4cf4a4]
jmp 0x45e6f6
cmp dword [esi], 0
je 0x45e6f6
mov ecx, dword [esi + 8]
push ecx
call dword [0x4cf504]
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x45e6d8
push ebx
call dword [0x4cf09c]
mov edx, dword [esp + 0x24]
push eax
push edx
mov dword [esp + 0x38], eax
call dword [0x4cf0a0]
mov eax, dword [esp + 0x30]
push eax
call dword [0x4cf0d8]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x48]
push ebx
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [0x4cf4c4]
mov edx, dword [ebp + 0x5c]
test edx, edx
lea esi, [ebp + 0x58]
jne 0x45e704
xor ecx, ecx
jmp 0x45e70c
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x45e729
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x45e729
mov eax, dword [esi + 8]
mov dword [eax], edi
add eax, 4
mov dword [esi + 8], eax
jmp 0x45e748
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x45e735
call fcn.0049458d
push edi
push esi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
push eax
mov eax, esi
call fcn.004091f0
mov edi, 8
cmp dword [esp + 0x88], edi
jb 0x45e763
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00493b60
add esp, 4
xor eax, eax
cmp dword [esp + 0x64], edi
mov esi, 7
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
jb 0x45e792
mov edx, dword [esp + 0x50]
push edx
call fcn.00493b60
add esp, 4
xor eax, eax
mov dword [esp + 0x64], esi
lea esi, [esp + 0x8c]
mov dword [esp + 0x60], eax
mov word [esp + 0x50], ax
mov dword [esp + 0x12c], 0xffffffff
call fcn.00459b50
mov eax, dword [esp + 0x2c]
add eax, 1
mov ecx, 0x90
add dword [esp + 0x28], ecx
add dword [esp + 0x18], ecx
xor esi, esi
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov ebx, eax
jl 0x45e3e0
mov ecx, dword [ebp + 0x98]
mov eax, ebx
cdq
idiv ecx
mov ebx, dword [ebp + 0x94]
add ebx, dword [ebp + 0x8c]
mov edi, dword [ebp + 0x90]
add edi, dword [ebp + 0x88]
imul ebx, eax
imul edi, edx
add ebx, dword [ebp + 0x84]
add edi, dword [ebp + 0x80]
cmp dword [ebp + 0x54], esi
mov dword [esp + 0x3c], ebx
jne 0x45e8aa
push 0x7c
call fcn.00493af6
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
mov dword [esp + 0x12c], 3
je 0x45e843
push eax
call fcn.0045da00
mov esi, eax
mov dword [esp + 0x12c], 0xffffffff
mov eax, dword [ebp + 0x8c]
mov ecx, dword [ebp + 0x88]
add eax, ebx
push eax
add ecx, edi
push ecx
push ebx
push edi
lea eax, [esi + 4]
push eax
mov dword [ebp + 0x54], esi
call dword [0x4cf5a4]
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ebp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x28], esi
call edx
lea ebx, [ebp + 0x2c]
lea eax, [esp + 0x1c]
call fcn.00471e50
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ebx, dword [esp + 0x3c]
xor esi, esi
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], 7
push 0x1a
mov word [eax + 4], si
push str.imageSkinMgr_skin_add.png
mov esi, eax
call fcn.004028c0
mov ecx, dword [ebp + 0x54]
call fcn.0045dba0
mov ecx, dword [ebp + 0x54]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x45e915
mov esi, dword [eax + 4]
mov edx, dword [ecx + 4]
add esi, edi
cmp esi, edx
jne 0x45e8f7
mov eax, dword [eax + 8]
add eax, ebx
cmp eax, dword [ecx + 8]
je 0x45e915
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov esi, dword [ecx]
add edx, ebx
sub edx, dword [ecx + 8]
add eax, edi
sub eax, dword [ecx + 4]
push 0
push edx
mov edx, dword [esi + 4]
push eax
call edx
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x8c]
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x88]
sub esi, edx
cmp eax, esi
jne 0x45e940
mov edx, dword [ecx + 0x10]
sub edx, dword [ecx + 8]
cmp dword [esp + 0x18], edx
je 0x45e959
mov edx, dword [ecx + 4]
add edx, eax
mov eax, dword [ecx + 8]
add eax, dword [esp + 0x18]
mov dword [ecx + 0xc], edx
mov edx, dword [ecx]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x4c]
call eax
xor eax, eax
push 2
push 0x4dda88
lea esi, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], eax
mov word [esp + 0x58], ax
call fcn.004028c0
mov eax, dword [ebp + 0x54]
mov ecx, dword [esp + 0x50]
mov esi, 8
cmp dword [esp + 0x64], esi
jae 0x45e992
lea ecx, [esp + 0x50]
mov eax, dword [eax + 0x4c]
push 0x3f
push ecx
add eax, 0x28
push eax
call dword [0x4cf2cc]
cmp dword [esp + 0x64], esi
jb 0x45e9b5
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00493b60
add esp, 4
mov edx, dword [ebp + 0x8c]
push edx
push 0x32
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
xor eax, eax
push 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], eax
push 0x4dda88
add edi, 0xd
mov word [esi + 4], ax
call fcn.004028c0
mov esi, dword [ebp + 0x54]
mov ecx, ebx
mov edx, edi
call fcn.0045db20
push ebp
call fcn.0045ea30
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00493b65
add esp, 0x11c
ret 4