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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
xor eax, eax
push ebx
mov ebx, ecx
mov dword [esp + 0x48], eax
push esi
mov esi, edx
mov dword [esp + 0x30], eax
mov byte [esp + 0xb], al
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], eax
call fcn.00492fa0
test byte [esi + 0x24], 0x20
mov edi, eax
movsx eax, word [esi + 0x2a]
mov dword [esp + 0x3c], eax
jne 0x48bb25
xor ecx, ecx
mov dword [esp + 0x48], 1
mov dword [esp + 0x18], ecx
jmp 0x48bb40
mov ecx, esi
call fcn.004818cf
mov ecx, eax
mov dword [esp + 0x18], ecx
movzx eax, word [ecx + 0x32]
xor ecx, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], 2
mov edx, ecx
mov dword [esp + 0x2c], edx
test eax, eax
jle 0x48bcf1
mov dword [esp + 0x1c], ecx
movsx eax, word [esi + 0x28]
cmp edx, eax
je 0x48bcd9
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x48bb77
cmp dword [eax + edx*4], 0
jl 0x48bcd9
mov eax, dword [esi + 4]
movzx ecx, byte [ecx + eax + 0xc]
test ecx, ecx
je 0x48bcd5
mov al, byte [ebp + 0x20]
cmp al, 0xb
je 0x48bb93
movzx ecx, al
jmp 0x48bb9b
cmp ecx, 0xb
cmove ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
cmp ecx, 5
jne 0x48bbbd
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x1c]
cmp dword [eax + esi + 4], 0
mov esi, dword [esp + 0x14]
cmove ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
xor eax, eax
mov dword [esp + 0x40], eax
sub ecx, 1
je 0x48bc6b
sub ecx, 1
je 0x48bc5d
sub ecx, 1
je 0x48bc6b
sub ecx, dword [esp + 0x20]
je 0x48bc01
push eax
mov eax, dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x24]
inc eax
add eax, edx
push eax
push 0x32
pop edx
call fcn.00469c0b
add esp, 0xc
jmp 0x48bcd1
mov esi, dword [ebp + 0x14]
xor ecx, ecx
dec dword [ebx + 0x38]
inc esi
mov eax, dword [ebx + 0x38]
add esi, edx
push ecx
push eax
push esi
push 0x33
pop edx
mov ecx, edi
mov dword [esp + 0x4c], eax
call fcn.00469c0b
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, ebx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
push esi
mov edx, dword [eax + edx + 4]
call fcn.0047c22f
pop ecx
xor eax, eax
mov ecx, edi
push eax
mov eax, dword [esp + 0x44]
push eax
push esi
push 0x33
pop edx
call fcn.00469c0b
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x74], 0
mov eax, ebx
cmovne eax, dword [ebx + 0x74]
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push dword [ecx + eax]
push dword [esi]
push str._s._s
push dword [esp + 0x34]
call fcn.0045373d
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x3c]
inc ecx
add eax, ecx
mov ecx, edi
push eax
push dword [esp + 0x4c]
push 0x513
push 0x44
pop edx
call fcn.00469c0b
add esp, 0x1c
mov edx, esi
mov ecx, edi
push 0xfffffffffffffff9
call fcn.0046a31f
pop ecx
xor edx, edx
mov ecx, edi
inc edx
call fcn.0046a0d0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x48bccd
mov edx, eax
call fcn.00469efd
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc edx
add ecx, 0x10
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
cmp edx, dword [esp + 0x3c]
jl 0x48bb5a
xor ecx, ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x30], edx
push 4
pop eax
test edx, edx
je 0x48bdfc
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, ecx
jne 0x48bdf9
mov eax, dword [ebp + 0x14]
cmp byte [ebp + 0x20], 0xb
not eax
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x34], eax
movzx eax, byte [ebp + 0x20]
cmovne ecx, eax
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
cmp dword [edx], eax
jle 0x48bdef
lea eax, [edx + 8]
mov dword [esp + 0x40], eax
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax - 4]
mov dword [esp + 0x58], ecx
test edx, edx
je 0x48bd68
movzx eax, byte [ebp + 0x1c]
push eax
call fcn.0048ba71
pop ecx
test eax, eax
je 0x48bdcf
mov ecx, dword [esp + 0x58]
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
push 0x10
push eax
push ecx
push ebx
mov dword [esp + 0x68], eax
call fcn.0047c55a
mov eax, dword [esp + 0x4c]
add esp, 0x10
push 4
pop ecx
cmp eax, ecx
jne 0x48bd96
mov edx, dword [ebp + 0x24]
mov ecx, edi
call fcn.00469c64
jmp 0x48bdc4
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x48bda2
mov ecx, dword [esi]
cmp eax, 5
push 3
cmove eax, dword [esp + 0x24]
xor edx, edx
push edx
push ecx
push eax
mov edx, 0x113
mov dword [esp + 0x4c], eax
mov ecx, ebx
call fcn.00485617
add esp, 0x10
mov edx, dword [esp + 0x58]
mov ecx, edi
call fcn.00469efd
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
inc edx
mov eax, dword [esp + 0x40]
add eax, 0x18
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
cmp edx, dword [ecx]
jl 0x48bd47
xor edx, edx
push 4
mov dword [ebx + 0x34], edx
pop eax
jmp 0x48bdfe
push 4
pop eax
xor edx, edx
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x48be39
cmp dword [ecx], edx
jne 0x48be17
mov dl, al
xor eax, eax
mov ecx, eax
mov byte [ebp + 0x20], dl
mov dword [ebp + 0x30], ecx
jmp 0x48be3c
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x34], eax
test eax, eax
je 0x48be39
push edx
push edx
push edx
push 0xb
pop edx
mov ecx, edi
call fcn.00469c0b
mov ecx, dword [ebp + 0x30]
add esp, 0xc
mov dword [esp + 0x44], eax
mov dl, byte [ebp + 0x20]
cmp byte [ebp + 0x1c], 0
je 0x48c040
cmp dword [esp + 0x18], 0
jne 0x48c040
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
movzx esi, byte [esi + 0x30]
mov dword [esp + 0x38], eax
cmp dl, 0xb
je 0x48be69
movzx esi, dl
jmp 0x48be71
cmp esi, 0xb
cmove esi, dword [esp + 0x20]
test ecx, ecx
je 0x48be8c
cmp dword [ecx + 0x10], 0
jne 0x48be8c
xor esi, esi
cmp dword [ecx + 8], esi
jne 0x48be89
push 4
pop ecx
mov esi, ecx
jmp 0x48beba
push 6
pop esi
cmp esi, 5
jne 0x48beba
cmp dl, 5
je 0x48beba
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp dword [eax + 8], ecx
je 0x48beb6
push ecx
push ecx
push ecx
push 0xb
pop edx
mov ecx, edi
call fcn.00469c0b
add esp, 0xc
inc eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x48bedf
push ecx
push eax
push dword [ebp + 0x14]
mov ecx, edi
push 0x35
pop edx
call fcn.00469c0b
add esp, 0xc
mov edx, 0x90
mov ecx, edi
call fcn.0046a0d0
push dword [ebp + 0x14]
mov ecx, edi
push dword [esp + 0x3c]
push dword [ebp + 0xc]
push 0x1f
pop edx
call fcn.00469c0b
add esp, 0xc
test esi, esi
je 0x48bfee
cmp esi, 3
jbe 0x48bff2
push 4
pop eax
cmp esi, eax
je 0x48bf33
cmp esi, 5
je 0x48bf42
cmp esi, 6
jne 0x48bfee
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
xor eax, eax
push eax
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.0049a6ab
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, edi
call fcn.00469c64
jmp 0x48c000
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, ecx
je 0x48bf76
push ecx
push ecx
push 0x7c
mov edx, esi
mov ecx, ebx
call fcn.004987f7
add esp, 0xc
mov dword [esp + 0x50], eax
test eax, eax
jne 0x48bfb2
xor ecx, ecx
push ecx
push ecx
mov edx, esi
mov ecx, ebx
call fcn.00489fa2
pop ecx
pop ecx
test eax, eax
jne 0x48bfb2
xor ecx, ecx
cmp dword [esi + 8], ecx
je 0x48bfe4
cmp dword [ebx + 0x74], ecx
mov eax, ebx
push 0xffffffffffffffff
cmovne eax, dword [ebx + 0x74]
mov edx, esi
push ecx
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
mov byte [eax + 0x14], 1
call fcn.00486e7d
add esp, 0x10
jmp 0x48bfe4
cmp dword [ebx + 0x74], 0
mov eax, ebx
push 0xffffffffffffffff
cmovne eax, dword [ebx + 0x74]
mov edx, esi
push 1
push 5
mov ecx, ebx
mov byte [eax + 0x14], 1
xor eax, eax
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x70]
call fcn.00486bef
add esp, 0x24
mov dword [esp + 0x50], 1
jmp 0x48c004
mov esi, dword [esp + 0x20]
push dword [esp + 0x14]
mov edx, esi
mov ecx, ebx
call fcn.00485752
pop ecx
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.00469efd
cmp dword [esp + 0x4c], 0
je 0x48c040
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push 0xb
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x58]
add esp, 0xc
mov ecx, edi
mov dword [esp + 0x60], eax
lea edx, [edx - 1]
call fcn.0046a36b
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x48c5f2
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
cmp dword [edx + ecx*4], 0
je 0x48c5de
mov edx, dword [esp + 0x34]
cmp edx, eax
jne 0x48c0a8
mov eax, dword [esp + 0x44]
mov ecx, edi
inc eax
mov dword [esp + 0x24], eax
xor eax, eax
push eax
push eax
push eax
push 0xb
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, edi
mov dword [esp + 0x5c], eax
call fcn.0046a36b
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
jmp 0x48c0b2
dec dword [ebx + 0x38]
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x24], ecx
cmp byte [esp + 0xf], 0
jne 0x48c0d5
test edx, edx
je 0x48c0c1
cmp edx, eax
jne 0x48c0d5
mov eax, dword [ebp + 0x14]
mov edx, esi
inc eax
mov ecx, edi
push eax
call fcn.0048a75f
pop ecx
mov byte [esp + 0xf], 1
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x24], edx
je 0x48c12b
mov ecx, dword [ebp + 8]
push edx
push dword [ecx + eax*4]
mov ecx, edi
push edx
push 0x49
pop edx
call fcn.00469c0b
mov eax, dword [ebp + 0x14]
add esp, 8
not eax
mov ecx, ebx
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x14]
push dword [esp + 0x28]
mov edx, dword [eax + 0x24]
call fcn.0047cae3
pop ecx
xor eax, eax
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
xor esi, esi
mov eax, dword [edx + eax*4]
xor edx, edx
inc eax
mov dword [esp + 0x3c], edx
cmp si, word [ecx + 0x34]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
jae 0x48c1dd
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 4]
movsx edx, word [eax + edx*2]
cmp edx, 0xfffffffe
jne 0x48c188
mov eax, dword [ebp + 0x14]
push dword [esp + 0x2c]
not eax
mov dword [ebx + 0x34], eax
mov edx, dword [ecx + 0x28]
mov ecx, ebx
mov eax, dword [esp + 0x44]
mov edx, dword [edx + eax + 4]
call fcn.0047c27c
xor eax, eax
pop ecx
mov dword [ebx + 0x34], eax
jmp 0x48c1bb
cmp edx, 0xffffffff
je 0x48c19d
movsx eax, word [esi + 0x28]
cmp edx, eax
je 0x48c19d
mov eax, dword [ebp + 0x14]
inc eax
add eax, edx
jmp 0x48c1a0
mov eax, dword [ebp + 0x14]
xor ecx, ecx
sar edx, 0x1f
push ecx
push dword [esp + 0x30]
and edx, 1
mov ecx, edi
push eax
add edx, 0x4f
call fcn.00469c0b
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
add dword [esp + 0x40], 0x18
inc edx
inc dword [esp + 0x2c]
movzx eax, word [ecx + 0x34]
mov dword [esp + 0x3c], edx
cmp edx, eax
jl 0x48c156
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push dword [edx + eax*4]
movzx eax, word [ecx + 0x34]
mov ecx, edi
push eax
push dword [esp + 0x40]
push 0x5c
pop edx
call fcn.00469c0b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x48c223
cmp dword [esp + 0x18], ecx
jne 0x48c223
cmp byte [ebp + 0x1c], 0
jne 0x48c223
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.00469efd
jmp 0x48c5d3
movzx eax, byte [ecx + 0x36]
test eax, eax
je 0x48c213
mov dl, byte [ebp + 0x20]
cmp dl, 0xb
je 0x48c238
movzx eax, dl
jmp 0x48c240
cmp eax, 0xb
cmove eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
cmp dword [esp + 0x34], ecx
jne 0x48c25e
mov edx, dword [ebp + 0x30]
push 6
pop eax
push 4
cmp dword [edx + 8], 0
pop edx
cmove eax, edx
mov dword [esp + 0x40], eax
cmp dword [esp + 0x1c], 0
jne 0x48c2c9
xor edx, edx
cmp dword [ecx + 0x14], edx
jne 0x48c2c9
cmp dword [esp + 0x18], ecx
jne 0x48c2c9
cmp eax, 5
jne 0x48c2c9
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x68], eax
je 0x48c29f
push edx
push edx
push 0x7c
mov edx, esi
mov ecx, ebx
call fcn.004987f7
add esp, 0xc
test eax, eax
jne 0x48c2c9
xor edx, edx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x68], eax
je 0x48c213
cmp dword [esi + 0x10], edx
jne 0x48c2c9
mov ecx, esi
call fcn.00489863
test eax, eax
je 0x48c213
mov eax, dword [esp + 0x10]
mov ecx, edi
movzx eax, word [eax + 0x32]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push dword [esp + 0x3c]
push 0x1b
pop edx
call fcn.00469e63
mov eax, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [esp + 0x18]
cmp eax, edx
jne 0x48c2fd
mov ecx, dword [esp + 0x38]
jmp 0x48c312
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.0047d619
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x10]
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x2c], ecx
jne 0x48c327
cmp dword [esp + 0x40], 5
jne 0x48c4a7
test byte [esi + 0x24], 0x20
jne 0x48c376
xor eax, eax
mov edx, 0x87
push eax
push ecx
push dword [esp + 0x38]
mov ecx, edi
call fcn.00469c0b
mov eax, dword [ebp + 0x18]
add esp, 0xc
test eax, eax
je 0x48c4a7
push eax
push dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x34]
push 0x35
pop edx
call fcn.00469c0b
add esp, 0xc
mov edx, 0x90
mov ecx, edi
call fcn.0046a0d0
jmp 0x48c4a7
cmp eax, edx
je 0x48c3d4
xor ebx, ebx
cmp bx, word [edx + 0x32]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x54]
jae 0x48c3d4
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x58]
lea eax, [ecx + ebx]
mov ecx, esi
push eax
mov eax, dword [edx + 4]
mov dx, word [eax + ebx*2]
call fcn.004818e7
cwde
mov ecx, edi
push eax
push dword [esp + 0x38]
push 0x5a
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc ebx
movzx eax, word [edx + 0x32]
cmp ebx, eax
jl 0x48c392
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp dword [ebp + 0x18], 0
je 0x48c4a7
movzx ecx, word [edx + 0x32]
mov eax, dword [eax + 0x38]
mov edx, dword [edi + 0x6c]
and al, 3
add edx, ecx
mov dword [esp + 0x58], 0x34
mov dword [esp + 0x64], edx
cmp al, 2
mov edx, dword [esp + 0x2c]
cmove edx, dword [esp + 0x38]
mov dword [esp + 0x68], edx
xor edx, edx
mov eax, edx
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x48c4a9
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
mov ecx, ebx
mov edx, dword [edx + eax*4]
call fcn.004823b5
mov edx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
movsx ecx, word [ecx + eax*2]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + 0x32]
dec ecx
cmp eax, ecx
jne 0x48c45a
mov esi, dword [esp + 0x24]
mov dword [esp + 0x58], 0x35
add eax, dword [esp + 0x68]
mov ecx, dword [ebp + 0x18]
push 0xfffffffffffffffe
push edx
mov edx, dword [esp + 0x60]
inc ecx
push eax
mov eax, dword [esp + 0x70]
add eax, ecx
mov ecx, edi
push esi
push eax
call fcn.00469d31
add esp, 0x14
mov edx, 0x90
mov ecx, edi
call fcn.0046a0d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x3c], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, ecx
jl 0x48c41b
mov esi, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x48c4fa
cmp eax, 3
jbe 0x48c4e7
push 4
pop ecx
cmp eax, ecx
je 0x48c4d8
cmp eax, 6
jne 0x48c4fa
push dword [esp + 0x30]
mov edx, dword [ebp + 0x30]
mov ecx, ebx
push dword [esp + 0x14]
push esi
call fcn.0049a6ab
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, edi
call fcn.00469c64
jmp 0x48c585
push dword [esp + 0x10]
mov edx, eax
mov ecx, ebx
call fcn.00485667
pop ecx
jmp 0x48c585
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, edx
je 0x48c528
push edx
push edx
push 0x7c
mov edx, esi
mov ecx, ebx
call fcn.004987f7
add esp, 0xc
mov dword [esp + 0x58], eax
test eax, eax
jne 0x48c539
xor edx, edx
push edx
push edx
mov edx, esi
mov ecx, ebx
call fcn.00489fa2
pop ecx
pop ecx
test eax, eax
je 0x48c547
cmp dword [ebx + 0x74], 0
mov eax, ebx
cmovne eax, dword [ebx + 0x74]
mov byte [eax + 0x14], 1
push dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, esi
cmp dword [esp + 0x14], eax
mov ecx, ebx
sete al
movzx eax, al
push eax
push 5
xor eax, eax
push eax
push dword [esp + 0x58]
push dword [esp + 0x40]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x78]
call fcn.00486bef
add esp, 0x24
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x34]
mov ecx, edi
cmp eax, dword [esp + 0x10]
jne 0x48c5b0
mov edx, dword [esp + 0x44]
lea edx, [edx + 1]
call fcn.00469c64
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.0046a36b
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
jmp 0x48c5b9
mov edx, dword [esp + 0x24]
call fcn.00469efd
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x38]
je 0x48c5d3
push dword [esp + 0x48]
mov edx, eax
mov ecx, ebx
call fcn.0047d64f
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x48c05c
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48c614
mov edx, eax
mov ecx, edi
call fcn.00469c64
mov edx, dword [esp + 0x60]
mov ecx, edi
call fcn.0046a36b
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
test byte [esi + 0x24], 0x20
jne 0x48c64f
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
movsx eax, word [esi + 0x2a]
mov ecx, edi
push eax
mov eax, dword [ebp + 0x14]
inc eax
push eax
push 0x5c
pop edx
call fcn.00469c0b
add esp, 0xc
cmp byte [esp + 0xf], 0
jne 0x48c64f
xor eax, eax
mov edx, esi
push eax
mov ecx, edi
call fcn.0048a75f
pop ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret