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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov eax, esi
mov ebx, ecx
mov dword [esp + 0x10], edi
call fcn.0049af30
cmp byte [ebp + 0xc], 0
mov byte [esp + 0xe], 0
mov edx, ebx
je 0x4b8e46
movzx eax, byte [edi + 0x30]
push eax
mov eax, edi
mov ecx, esi
call fcn.004b6f60
test al, al
jne 0x4b899f
mov edx, dword [ebx + 0x88]
mov al, byte [ebx + 0x1b4]
mov esi, dword [esi + 0xdc]
mov ecx, 0x60b
mov byte [esp + 0x2f], al
xor eax, eax
mov word [esp + 0x24], cx
mov cx, word [edi]
mov dword [esp + 0x27], edx
mov dl, byte [edi + 2]
add ebx, 0x7c
mov word [esp + 0x33], ax
mov eax, dword [ebx + 0x10]
mov word [esp + 0x30], cx
mov byte [esp + 0x32], dl
xor ecx, ecx
xor edx, edx
mov byte [esp + 0x26], 3
mov dword [esp + 0x2b], esi
mov word [esp + 0x35], cx
mov word [esp + 0x37], dx
test eax, eax
je 0x4b926c
fld dword [0x574168]
push 6
push esi
push edx
push ecx
fstp dword [esp]
push ebx
push 0x15
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00427cf0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0051a8be
mov esp, ebp
pop ebp
ret 8
mov eax, esi
call fcn.0049ad20
cmp dword [esi + 0x558c], 0
je 0x4b89b5
push esi
call fcn.0048b570
movzx ecx, byte [edi + 0x30]
mov eax, esi
call fcn.0045a150
mov byte [esp + 0xd], al
test al, al
je 0x4b8a04
movzx edx, byte [edi + 0x30]
mov eax, dword [ebx + 0xd4]
imul edx, edx, 0x2c
mov edx, dword [edx + esi + 0x13c0]
mov dword [esp + 0x20], 0
add eax, 0x55
movzx ecx, byte [eax]
cmp ecx, edx
je 0x4b89ff
mov ecx, dword [esp + 0x20]
inc ecx
inc eax
cmp ecx, 6
mov dword [esp + 0x20], ecx
jl 0x4b89e7
jmp 0x4b8a04
mov byte [esp + 0xd], 0
movzx edx, byte [edi + 0x30]
push edi
push edx
push esi
lea eax, [esp + 0x20]
call fcn.004b7a20
cmp word [edi + 0x32], 0x1b
mov byte [esp + 0xf], al
jne 0x4b8b4e
cmp byte [esp + 0xd], 0
jne 0x4b8a85
mov ecx, dword [ebx + 0x88]
lea eax, [esp + 0x14]
push eax
push ecx
push 2
mov edi, esi
call fcn.004581f0
mov byte [esp + 0xe], al
test al, al
je 0x4b8a60
mov eax, ebx
call fcn.004a1340
mov edx, dword [ebx + 0x88]
push 0
push edx
push 2
mov ecx, esi
call fcn.004654c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call fcn.004a13e0
mov edi, dword [esp + 0x10]
cmp byte [esp + 0xd], 0
movzx ecx, byte [esp + 0xf]
mov edx, dword [ebx + 0x88]
mov byte [esp + 0x26], cl
movzx ecx, byte [ebx + 0x1b4]
mov eax, 0x60c
mov byte [esp + 0x2f], cl
movzx ecx, byte [edi + 2]
mov word [esp + 0x24], ax
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x27], edx
mov dx, word [edi]
mov dword [esp + 0x2b], eax
mov word [esp + 0x30], dx
mov byte [esp + 0x32], cl
jne 0x4b8b02
movzx edx, word [esp + 0x14]
movzx ecx, word [esp + 0x18]
mov word [esp + 0x33], dx
movzx edx, word [esp + 0x1c]
mov word [esp + 0x35], cx
movzx ecx, word [esp + 0x40]
mov word [esp + 0x37], dx
movzx edx, word [esp + 0x44]
mov word [esp + 0x39], cx
movzx ecx, word [esp + 0x48]
jmp 0x4b8b1a
xor edx, edx
xor ecx, ecx
mov word [esp + 0x33], dx
mov word [esp + 0x35], cx
mov word [esp + 0x37], dx
mov word [esp + 0x39], cx
mov word [esp + 0x3d], cx
lea ecx, [ebx + 0x7c]
mov word [esp + 0x3b], dx
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x4b8d1b
fld dword [0x574168]
push 6
push eax
push 0
push ecx
fstp dword [esp]
push ecx
push 0x1b
lea eax, [esp + 0x3c]
push eax
jmp 0x4b8d15
cmp byte [esp + 0xd], 0
jne 0x4b8b8f
mov edx, dword [ebx + 0x88]
lea ecx, [esp + 0x14]
push ecx
push edx
push 2
mov edi, esi
call fcn.004581f0
mov byte [esp + 0xe], al
test al, al
je 0x4b8b8b
mov eax, ebx
call fcn.004a1340
mov eax, dword [ebx + 0x88]
push 0
push eax
push 2
mov ecx, esi
call fcn.004654c0
mov edi, dword [esp + 0x10]
cmp byte [esp + 0xd], 0
mov dl, byte [esp + 0xf]
mov eax, dword [ebx + 0x88]
mov ecx, 0x60b
mov word [esp + 0x24], cx
movzx ecx, byte [ebx + 0x1b4]
mov byte [esp + 0x2f], cl
movzx ecx, byte [edi + 2]
mov byte [esp + 0x26], dl
mov dx, word [edi]
mov dword [esp + 0x27], eax
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x2b], eax
mov word [esp + 0x30], dx
mov byte [esp + 0x32], cl
jne 0x4b8bf7
movzx edx, word [esp + 0x14]
mov cx, word [esp + 0x18]
mov word [esp + 0x33], dx
movzx edx, word [esp + 0x1c]
mov word [esp + 0x35], cx
mov word [esp + 0x37], dx
jmp 0x4b8c0a
xor ecx, ecx
xor edx, edx
mov word [esp + 0x33], cx
mov word [esp + 0x35], dx
mov word [esp + 0x37], cx
mov edx, dword [ebx + 0x8c]
lea ecx, [ebx + 0x7c]
test edx, edx
je 0x4b8c34
fld dword [0x574168]
push 6
push eax
push 0
push ecx
fstp dword [esp]
push ecx
push 0x15
lea eax, [esp + 0x3c]
push eax
push edx
call fcn.00427cf0
movzx eax, word [edi + 0x76]
test ax, ax
jne 0x4b8c4d
cmp word [edi + 0x78], ax
jne 0x4b8c4d
cmp word [edi + 0x7a], ax
je 0x4b8d1b
cmp byte [esp + 0xe], 0
jne 0x4b8d1b
movzx edx, word [edi + 0x78]
movzx ecx, ax
movzx eax, word [edi + 0x7a]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x88]
push ecx
push edx
push 2
mov edi, esi
mov dword [esp + 0x54], eax
call fcn.004581f0
mov byte [esp + 0xe], al
test al, al
je 0x4b8ca5
mov eax, ebx
call fcn.004a1340
mov eax, dword [ebx + 0x88]
push 0
push eax
push 2
mov ecx, esi
call fcn.004654c0
mov edi, dword [esp + 0x10]
movzx eax, word [edi]
mov edx, dword [ebx + 0x88]
mov word [esp + 0x5a], ax
movzx eax, word [esp + 0x40]
mov dword [esp + 0x52], edx
mov dl, byte [edi + 2]
mov word [esp + 0x5d], ax
movzx eax, word [esp + 0x48]
mov byte [esp + 0x5c], dl
mov dx, word [esp + 0x44]
mov ecx, 0x60e
mov word [esp + 0x61], ax
lea eax, [ebx + 0x7c]
mov word [esp + 0x5f], dx
mov edx, dword [eax + 0x10]
mov word [esp + 0x50], cx
mov ecx, dword [esi + 0xdc]
mov dword [esp + 0x56], ecx
test edx, edx
je 0x4b8d1b
fld dword [0x574168]
push 6
push ecx
push 0
push ecx
fstp dword [esp]
push eax
push 0x13
lea ecx, [esp + 0x68]
push ecx
push edx
call fcn.00427cf0
cmp dword [ebx + 0x308], 0
jne 0x4b9246
cmp byte [esp + 0xd], 0
je 0x4b9246
cmp byte [esp + 0xe], 0
jne 0x4b9263
mov eax, dword [ebx + 0xd10]
test eax, eax
je 0x4b8da6
cmp byte [eax + 0x1c], 0
je 0x4b8da6
lea eax, [edi + 3]
lea ecx, [esi + 0x184]
mov edi, ebx
call fcn.0049d2b0
mov edx, dword [esi + 0xdc]
push 0
push 0
push 0
push edx
push 1
push ebx
lea eax, [esp + 0x2c]
call fcn.004a1980
test al, al
je 0x4b8d92
mov eax, esi
call fcn.0049ace0
mov eax, dword [esi + 0xdc]
push eax
push 1
mov ecx, ebx
call fcn.004a1c20
mov edi, dword [esp + 0x10]
mov byte [ebx + 0xdb4], 0
mov byte [ebx + 0xdd4], 0
jmp 0x4b8dda
mov ecx, dword [esi + 0xdc]
push 0
push 0
push 0
push ecx
push 1
push ebx
lea eax, [esp + 0x2c]
call fcn.004a1980
test al, al
je 0x4b8dda
mov eax, esi
call fcn.0049ace0
mov edx, dword [esi + 0xdc]
push edx
push 1
mov ecx, ebx
call fcn.004a1c20
movzx edx, word [esp + 0x14]
mov ecx, dword [ebx + 0x88]
mov word [esp + 0x4a], dx
movzx edx, word [esp + 0x1c]
mov dword [esp + 0x46], ecx
mov cx, word [esp + 0x18]
mov eax, 0x51b
mov word [esp + 0x4e], dx
lea edx, [ebx + 0x7c]
mov word [esp + 0x4c], cx
mov ecx, dword [edx + 0x10]
mov word [esp + 0x40], ax
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x42], eax
test ecx, ecx
je 0x4b924d
fld dword [0x574168]
push 6
push eax
push 0
push ecx
fstp dword [esp]
push edx
push 0x10
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.00427cf0
jmp 0x4b924d
movzx ecx, byte [edi + 0x30]
push ecx
mov eax, edi
mov ecx, esi
call fcn.004b6f60
test al, al
jne 0x4b8ee1
mov eax, dword [ebx + 0x88]
mov cx, word [edi]
mov esi, dword [esi + 0xdc]
mov edx, 0x60d
mov dword [esp + 0x27], eax
xor eax, eax
mov word [esp + 0x24], dx
mov dl, byte [edi + 2]
add ebx, 0x7c
mov word [esp + 0x32], ax
mov eax, dword [ebx + 0x10]
mov word [esp + 0x2f], cx
mov byte [esp + 0x31], dl
xor ecx, ecx
xor edx, edx
mov byte [esp + 0x26], 3
mov dword [esp + 0x2b], esi
mov word [esp + 0x34], cx
mov word [esp + 0x36], dx
test eax, eax
je 0x4b926c
fld dword [0x574168]
push 6
push esi
push edx
push ecx
fstp dword [esp]
push ebx
push 0x14
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00427cf0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0051a8be
mov esp, ebp
pop ebp
ret 8
mov eax, esi
call fcn.0049ad20
cmp dword [esi + 0x558c], 0
je 0x4b8ef7
push esi
call fcn.0048b570
movzx ecx, byte [edi + 0x30]
mov eax, esi
call fcn.0045a150
mov byte [esp + 0xd], al
test al, al
je 0x4b8f4d
movzx edx, byte [edi + 0x30]
mov eax, dword [ebx + 0xd4]
imul edx, edx, 0x2c
mov edx, dword [edx + esi + 0x13c0]
mov dword [esp + 0x20], 0
add eax, 0x55
lea esp, [esp]
movzx ecx, byte [eax]
cmp ecx, edx
je 0x4b8f48
mov ecx, dword [esp + 0x20]
inc ecx
inc eax
cmp ecx, 6
mov dword [esp + 0x20], ecx
jl 0x4b8f30
jmp 0x4b8f4d
mov byte [esp + 0xd], 0
movzx edx, byte [edi + 0x30]
push edi
push edx
push esi
lea eax, [esp + 0x20]
call fcn.004b7a20
cmp byte [esp + 0xd], 0
mov byte [esp + 0xf], al
jne 0x4b8fa2
mov ecx, dword [ebx + 0x88]
lea eax, [esp + 0x14]
push eax
push ecx
push 2
mov edi, esi
call fcn.004581f0
mov byte [esp + 0xe], al
test al, al
je 0x4b8f9e
mov eax, ebx
call fcn.004a1340
mov edx, dword [ebx + 0x88]
push 0
push edx
push 2
mov ecx, esi
call fcn.004654c0
mov edi, dword [esp + 0x10]
cmp byte [esp + 0xd], 0
mov cl, byte [esp + 0xf]
mov edx, dword [ebx + 0x88]
mov eax, 0x60d
mov word [esp + 0x24], ax
mov eax, dword [esi + 0xdc]
mov byte [esp + 0x26], cl
mov cx, word [edi]
mov dword [esp + 0x27], edx
mov dl, byte [edi + 2]
mov dword [esp + 0x2b], eax
mov word [esp + 0x2f], cx
mov byte [esp + 0x31], dl
jne 0x4b8ffe
movzx ecx, word [esp + 0x14]
mov dx, word [esp + 0x18]
mov word [esp + 0x32], cx
movzx ecx, word [esp + 0x1c]
mov word [esp + 0x34], dx
mov word [esp + 0x36], cx
jmp 0x4b9011
xor edx, edx
xor ecx, ecx
mov word [esp + 0x32], dx
mov word [esp + 0x34], cx
mov word [esp + 0x36], dx
mov edx, dword [ebx + 0x8c]
lea ecx, [ebx + 0x7c]
test edx, edx
je 0x4b903b
fld dword [0x574168]
push 6
push eax
push 0
push ecx
fstp dword [esp]
push ecx
push 0x14
lea eax, [esp + 0x3c]
push eax
push edx
call fcn.00427cf0
movzx eax, word [edi + 0x76]
test ax, ax
jne 0x4b9054
cmp word [edi + 0x78], ax
jne 0x4b9054
cmp word [edi + 0x7a], ax
je 0x4b9122
cmp byte [esp + 0xe], 0
jne 0x4b9122
movzx edx, word [edi + 0x78]
movzx ecx, ax
movzx eax, word [edi + 0x7a]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x88]
push ecx
push edx
push 2
mov edi, esi
mov dword [esp + 0x54], eax
call fcn.004581f0
mov byte [esp + 0xe], al
test al, al
je 0x4b90ac
mov eax, ebx
call fcn.004a1340
mov eax, dword [ebx + 0x88]
push 0
push eax
push 2
mov ecx, esi
call fcn.004654c0
mov edi, dword [esp + 0x10]
movzx eax, word [edi]
mov edx, dword [ebx + 0x88]
mov word [esp + 0x5a], ax
movzx eax, word [esp + 0x40]
mov dword [esp + 0x52], edx
mov dl, byte [edi + 2]
mov word [esp + 0x5d], ax
movzx eax, word [esp + 0x48]
mov byte [esp + 0x5c], dl
mov dx, word [esp + 0x44]
mov ecx, 0x60e
mov word [esp + 0x61], ax
lea eax, [ebx + 0x7c]
mov word [esp + 0x5f], dx
mov edx, dword [eax + 0x10]
mov word [esp + 0x50], cx
mov ecx, dword [esi + 0xdc]
mov dword [esp + 0x56], ecx
test edx, edx
je 0x4b9122
fld dword [0x574168]
push 6
push ecx
push 0
push ecx
fstp dword [esp]
push eax
push 0x13
lea ecx, [esp + 0x68]
push ecx
push edx
call fcn.00427cf0
cmp dword [ebx + 0x308], 0
jne 0x4b9246
cmp byte [esp + 0xd], 0
je 0x4b9246
cmp byte [esp + 0xe], 0
jne 0x4b9263
mov eax, dword [ebx + 0xd10]
test eax, eax
je 0x4b91ad
cmp byte [eax + 0x1c], 0
je 0x4b91ad
lea eax, [edi + 3]
lea ecx, [esi + 0x184]
mov edi, ebx
call fcn.0049d2b0
mov edx, dword [esi + 0xdc]
push 0
push 0
push 0
push edx
push 1
push ebx
lea eax, [esp + 0x2c]
call fcn.004a1980
test al, al
je 0x4b9199
mov eax, esi
call fcn.0049ace0
mov eax, dword [esi + 0xdc]
push eax
push 1
mov ecx, ebx
call fcn.004a1c20
mov edi, dword [esp + 0x10]
mov byte [ebx + 0xdb4], 0
mov byte [ebx + 0xdd4], 0
jmp 0x4b91e1
mov ecx, dword [esi + 0xdc]
push 0
push 0
push 0
push ecx
push 1
push ebx
lea eax, [esp + 0x2c]
call fcn.004a1980
test al, al
je 0x4b91e1
mov eax, esi
call fcn.0049ace0
mov edx, dword [esi + 0xdc]
push edx
push 1
mov ecx, ebx
call fcn.004a1c20
mov edx, dword [ebx + 0x88]
mov ecx, dword [esi + 0xdc]
mov eax, 0x51b
mov word [esp + 0x40], ax
movzx eax, word [esp + 0x14]
mov word [esp + 0x4a], ax
movzx eax, word [esp + 0x1c]
mov dword [esp + 0x46], edx
mov dx, word [esp + 0x18]
mov word [esp + 0x4e], ax
lea eax, [ebx + 0x7c]
mov word [esp + 0x4c], dx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x42], ecx
test edx, edx
je 0x4b924d
fld dword [0x574168]
push 6
push ecx
push 0
push ecx
fstp dword [esp]
push eax
push 0x10
lea ecx, [esp + 0x58]
push ecx
push edx
call fcn.00427cf0
jmp 0x4b924d
cmp byte [esp + 0xe], 0
jne 0x4b9263
cmp byte [edi + 0x31], 3
jne 0x4b9263
mov edx, dword [ebx + 0x88]
push edx
push 2
push edi
push esi
call fcn.00493970
mov edx, ebx
mov ecx, esi
call fcn.00458ae0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051a8be
mov esp, ebp
pop ebp
ret 8