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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2b8
mov eax, dword [ebp + 8]
mov ecx, eax
mov dl, byte [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
and dl, 1
mov byte [esp + 0x2b3], dl
mov dword [esp + 0x2ac], esi
mov dword [esp + 0x2a8], edi
mov byte [esp + 0x2a7], 0
mov dword [esp + 0xbc], ecx
mov ecx, ebx
mov ecx, eax
mov dword [esp + 0xb8], eax
call fcn.004bb4d0
mov ecx, dword [esp + 0x2a8]
mov esi, esp
mov dword [esi], ecx
mov dword [esp + 0xb4], eax
call fcn.00438640
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb0]
shl eax, 1
mov ecx, 0x200000
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0xb8]
call fcn.004055e0
sub esp, 4
jmp 0x481dfc
mov eax, dword [esp + 0x2a8]
cmp byte [eax], 0
je 0x482733
mov eax, 0x25
mov ecx, dword [esp + 0x2a8]
mov edx, ecx
add edx, 1
mov dword [esp + 0x2a8], edx
mov bl, byte [ecx]
mov byte [esp + 0x29b], bl
movsx ecx, byte [esp + 0x29b]
cmp eax, ecx
je 0x481e70
mov al, byte [esp + 0x29b]
movsx ecx, al
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 1
mov ecx, dword [esp + 0xb8]
call fcn.0044f320
sub esp, 8
mov dword [esp + 0xac], eax
jmp 0x481dfc
lea ecx, [esp + 0x280]
call fcn.004bb4d0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x2a8]
mov ecx, eax
add ecx, 1
mov dword [esp + 0x2a8], ecx
mov dl, byte [eax]
mov byte [esp + 0x29a], dl
movsx eax, dl
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x7b
jl 0x481ed5
mov eax, dword [esp + 0xa4]
cmp eax, 0x7b
je 0x481eec
jmp 0x481f2d
mov eax, dword [esp + 0xa4]
cmp eax, 0x25
je 0x481ef1
jmp 0x481f2d
jmp 0x481f62
mov al, byte [esp + 0x29a]
movsx ecx, al
mov edx, esp
call fcn.00482770
call fcn.00482780
mov ecx, dword [esp + 0xb8]
call fcn.0044f320
sub esp, 8
mov dword [esp + 0xa0], eax
mov dword [esp + 0x27c], 2
jmp 0x4826ea
jmp 0x481f32
mov al, byte [esp + 0x29a]
movsx ecx, al
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 1
lea ecx, [esp + 0x280]
call fcn.0044f320
sub esp, 8
mov dword [esp + 0x9c], eax
jmp 0x481f62
movsx eax, byte [esp + 0x29a]
cmp eax, 0x7b
jne 0x48255b
mov byte [esp + 0x27b], 1
mov byte [esp + 0x27a], 0
mov al, 0
mov ecx, dword [esp + 0x2a8]
cmp byte [ecx], 0
mov byte [esp + 0x9b], al
je 0x481fb7
mov eax, dword [esp + 0x2a8]
movsx eax, byte [eax]
cmp eax, 0x7d
setne cl
mov byte [esp + 0x9b], cl
mov al, byte [esp + 0x9b]
test al, 1
jne 0x481fcb
jmp 0x48207e
test byte [esp + 0x27a], 1
jne 0x482038
mov eax, dword [esp + 0x2a8]
movsx eax, byte [eax]
cmp eax, 0x3a
jne 0x481ffb
mov byte [esp + 0x27a], 1
jmp 0x482033
mov eax, dword [esp + 0x2a8]
movsx eax, byte [eax]
mov dword [esp], eax
call fcn.00438803
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
cmp eax, 0
jne 0x48202e
mov byte [esp + 0x27b], 0
jmp 0x482033
jmp 0x482038
mov eax, dword [esp + 0x2a8]
mov ecx, 0x4373cc
mov ecx, eax
sub ecx, 0xffffffff
mov dword [esp + 0x2a8], ecx
mov dl, byte [eax]
movsx eax, dl
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 1
lea ecx, [esp + 0x280]
call fcn.0044f320
sub esp, 8
mov dword [esp + 0x90], eax
jmp 0x481f85
mov eax, dword [esp + 0x2a8]
mov ecx, 0x4373cc
mov ecx, eax
add ecx, 1
mov dword [esp + 0x2a8], ecx
cmp byte [eax], 0
je 0x482546
test byte [esp + 0x27b], 1
je 0x48230a
lea ecx, [esp + 0x280]
call fcn.004ddfd0
mov ecx, 0x5a675c
mov ecx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], 0x3a
mov dword [esp + 0x8c], ecx
call fcn.0044f670
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x274], eax
mov dword [esp + 0x270], 0
cmp dword [esp + 0x274], 0
je 0x4821ad
lea eax, [0x877b4c]
mov ecx, dword [esp + 0x274]
mov edx, ecx
add edx, 1
mov dword [esp + 0x274], edx
mov byte [ecx], 0
mov ecx, dword [esp + 0x274]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437710
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x84]
cmp eax, 0
jne 0x482166
mov dword [esp + 0x270], 1
jmp 0x4821a8
lea eax, [0x877b74]
mov ecx, dword [esp + 0x274]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437710
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
cmp eax, 0
jne 0x4821a3
mov dword [esp + 0x270], 2
jmp 0x4821a8
jmp 0x4821ad
mov ecx, dword [esp + 0x2ac]
lea eax, [esp + 0x280]
mov dword [esp + 0x7c], ecx
mov ecx, eax
call fcn.004ddfd0
mov dword [esp], eax
call fcn.00438863
mov dword [esp + 0x78], eax
mov eax, esi
mov eax, esp
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], ecx
lea edx, [esp + 0x258]
call fcn.00482790
call fcn.004827a0
mov ecx, dword [esp + 0x7c]
call fcn.004022a0
sub esp, 0xc
mov eax, dword [esp + 0x270]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
cmp eax, 2
jl 0x482228
mov eax, dword [esp + 0x74]
cmp eax, 2
je 0x482288
jmp 0x4822d6
mov eax, dword [esp + 0x74]
cmp eax, 1
jne 0x4822d6
lea ecx, [esp + 0x258]
call fcn.004ddfd0
lea ecx, [esp + 0x240]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00482800
mov eax, esp
lea ecx, [esp + 0x240]
call fcn.004827b0
lea ecx, [esp + 0x258]
call fcn.004fe0f0
sub esp, 4
lea ecx, [esp + 0x240]
mov dword [esp + 0x70], eax
call fcn.00551e20
jmp 0x4822db
lea ecx, [esp + 0x258]
call fcn.004ddfd0
lea ecx, [esp + 0x228]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00402430
mov eax, esp
lea ecx, [esp + 0x228]
mov dword [eax], ecx
lea ecx, [esp + 0x258]
call fcn.004fe0f0
sub esp, 4
lea ecx, [esp + 0x228]
mov dword [esp + 0x6c], eax
call fcn.00551e20
jmp 0x4822db
jmp 0x4822db
mov eax, esp
lea ecx, [esp + 0x258]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
call fcn.0044f6e0
sub esp, 4
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x258]
call fcn.00551e20
jmp 0x482541
lea ecx, [esp + 0x280]
call fcn.004ddfd0
lea ecx, [0x877b8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00437710
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
cmp eax, 0
je 0x48237d
lea ecx, [esp + 0x280]
call fcn.004ddfd0
lea ecx, [0x877ca0]
mov edx, 7
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov dword [esp + 0x60], edx
call fcn.0043888a
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
cmp eax, 0
jne 0x482401
mov eax, dword [esp + 0x2ac]
lea ecx, [esp + 0x280]
mov dword [esp + 0x58], eax
call fcn.004ddfd0
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x54], eax
call fcn.004ddfd0
lea ecx, [esp + 0x210]
lea edx, [esp + 0x2a8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
call fcn.00448a80
mov eax, esp
lea ecx, [esp + 0x210]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
call fcn.0044f6e0
sub esp, 4
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x210]
call fcn.00551e20
jmp 0x48253c
lea ecx, [esp + 0x280]
call fcn.004ddfd0
lea ecx, [0x877d20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00437710
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
cmp eax, 0
je 0x48247c
lea ecx, [esp + 0x280]
call fcn.004ddfd0
lea ecx, [0x877e08]
mov edx, 0x6b7c20bf
pushfd
sub edx, 0x6b7c20ba
popfd
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
mov dword [esp + 0x48], edx
call fcn.0043888a
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
cmp eax, 0
jne 0x4824dd
mov eax, dword [esp + 0x2ac]
lea ecx, [esp + 0x280]
mov dword [esp + 0x40], eax
call fcn.004ddfd0
lea ecx, [esp + 0x1f8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00402570
mov eax, esp
lea ecx, [esp + 0x1f8]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
call fcn.0044f6e0
sub esp, 4
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x1f8]
call fcn.00551e20
jmp 0x482537
mov ecx, dword [esp + 0x2ac]
mov eax, 0x43721c
mov eax, esp
lea edx, [esp + 0x280]
mov dword [eax + 4], edx
lea edx, [esp + 0x1e0]
mov dword [eax], edx
mov dword [eax + 8], 0x88aaf4
call fcn.004829a0
sub esp, 0xc
mov eax, esp
lea ecx, [esp + 0x1e0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
call fcn.0044f6e0
sub esp, 4
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x1e0]
call fcn.00551e20
jmp 0x48253c
jmp 0x482541
jmp 0x482556
mov dword [esp + 0x27c], 3
jmp 0x4826ea
jmp 0x4826df
jmp 0x482560
mov al, 0
mov ecx, dword [esp + 0x2a8]
cmp byte [ecx], 0
mov byte [esp + 0x37], al
je 0x48258c
mov eax, dword [esp + 0x2a8]
movsx eax, byte [eax]
cmp eax, 0x25
setne cl
mov byte [esp + 0x37], cl
mov al, byte [esp + 0x37]
test al, 1
jne 0x48259d
jmp 0x4825df
mov eax, dword [esp + 0x2a8]
mov ecx, edx
mov ecx, eax
add ecx, 1
mov dword [esp + 0x2a8], ecx
mov dl, byte [eax]
movsx eax, dl
mov ecx, ebx
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 1
lea ecx, [esp + 0x280]
call fcn.0044f320
sub esp, 8
mov dword [esp + 0x30], eax
jmp 0x482560
mov eax, dword [esp + 0x2a8]
mov ecx, eax
add ecx, 1
mov dword [esp + 0x2a8], ecx
cmp byte [eax], 0
je 0x4826ca
cmp dword [0x87f01c], 0
je 0x48265e
lea eax, [esp + 0xdb]
call fcn.004827c0
lea edx, [esp + 0x280]
mov dword [esp + 0x2c], ecx
mov ecx, edx
mov ecx, edx
mov dword [esp + 0x28], eax
call fcn.004ddfd0
mov ecx, esp
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov dword [ecx + 8], 0x104
mov eax, dword [esp + 0x2c]
call eax
sub esp, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jmp 0x48266c
mov eax, 0
mov dword [esp + 0x20], eax
jmp 0x48266c
mov eax, dword [esp + 0x20]
cmp eax, 0
je 0x4826c5
lea eax, [esp + 0xdb]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xc0]
call fcn.00401770
sub esp, 4
mov dword [esp + 0x1c], eax
mov eax, esi
mov eax, esp
lea ecx, [esp + 0xc0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
call fcn.0044f6e0
sub esp, 4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc0]
call fcn.00551e20
jmp 0x4826da
mov dword [esp + 0x27c], 3
jmp 0x4826ea
jmp 0x4826df
mov dword [esp + 0x27c], 0
lea ecx, [esp + 0x280]
call fcn.00551e20
mov ecx, dword [esp + 0x27c]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
push edx
mov edx, 0xa067a2b9
xor edx, 0xa067a2bb
cmp eax, edx
pop edx
jl 0x48272e
mov eax, dword [esp + 0x14]
cmp eax, 3
jl 0x481dfc
jmp 0x482733
jmp 0x481dfc
mov byte [esp + 0x2a7], 1
mov dword [esp + 0x27c], 1
test byte [esp + 0x2a7], 1
jne 0x482760
mov ecx, dword [esp + 0xb8]
call fcn.00551e20
mov eax, dword [esp + 0xbc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret