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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov dword [esi + 0x124], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x120], eax
mov eax, 0
mov dword [esi + 0x11c], eax
mov eax, dword [0x501448]
mov dword [esi + 0x118], eax
mov eax, dword [0x501444]
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x11c]
sub eax, 1
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x118]
mov dword [esi + 0x10c], ecx
mov ecx, dword [esi + 0x110]
add eax, ecx
mov ecx, dword [esi + 0x118]
imul ecx, eax
and ecx, 1
cmp ecx, 0
sete al
and al, 1
mov byte [esi + 0x132], al
mov ecx, dword [esi + 0x114]
cmp ecx, 0xa
setl al
and al, 1
mov byte [esi + 0x133], al
mov dword [esi + 0x12c], 0xd9f8bce8
mov dword [esi + 0x108], edi
mov dword [esi + 0x104], ebx
mov dword [esi + 0x100], edx
mov eax, dword [esi + 0x12c]
mov ecx, eax
sub ecx, 0xbe29bb09
mov dword [esi + 0xfc], eax
mov dword [esi + 0xf8], ecx
jg 0x4b1a7c
jmp 0x4b1a60
mov eax, dword [esi + 0xfc]
sub eax, 0x89bb9971
mov dword [esi + 0xf4], eax
je 0x4b214c
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0x54e8ac9b
mov dword [esi + 0xf0], eax
jg 0x4b1c74
jmp 0x4b1a98
mov eax, dword [esi + 0xfc]
sub eax, 0xd4cf9f3f
mov dword [esi + 0xec], eax
jg 0x4b1ad0
jmp 0x4b1ab4
mov eax, dword [esi + 0xfc]
sub eax, 0xbe29bb0a
mov dword [esi + 0xe8], eax
je 0x4b20e0
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0x37c539c6
mov dword [esi + 0xe4], eax
jg 0x4b1c58
jmp 0x4b1aec
mov eax, dword [esi + 0xfc]
sub eax, 0x2ed93a91
mov dword [esi + 0xe0], eax
jg 0x4b1c3c
jmp 0x4b1b08
mov eax, dword [esi + 0xfc]
sub eax, 0xd6e1d1b9
mov dword [esi + 0xdc], eax
jg 0x4b1b40
jmp 0x4b1b24
mov eax, dword [esi + 0xfc]
sub eax, 0xd4cf9f40
mov dword [esi + 0xd8], eax
je 0x4b1f66
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0xd9f8bce7
mov dword [esi + 0xd4], eax
jg 0x4b1b78
jmp 0x4b1b5c
mov eax, dword [esi + 0xfc]
sub eax, 0xd6e1d1ba
mov dword [esi + 0xd0], eax
je 0x4b215c
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0xed6a5cb8
mov dword [esi + 0xcc], eax
jg 0x4b1bb0
jmp 0x4b1b94
mov eax, dword [esi + 0xfc]
sub eax, 0xd9f8bce8
mov dword [esi + 0xc8], eax
je 0x4b1c95
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0xf22d8fc8
mov dword [esi + 0xc4], eax
jg 0x4b1be8
jmp 0x4b1bcc
mov eax, dword [esi + 0xfc]
sub eax, 0xed6a5cb9
mov dword [esi + 0xc0], eax
je 0x4b22bb
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0xf22d8fc9
mov dword [esi + 0xbc], eax
je 0x4b2131
jmp 0x4b1c04
mov eax, dword [esi + 0xfc]
sub eax, 0x9b72eeb
mov dword [esi + 0xb8], eax
je 0x4b1f87
jmp 0x4b1c20
mov eax, dword [esi + 0xfc]
sub eax, 0xb5756db
mov dword [esi + 0xb4], eax
je 0x4b1fa2
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0x2ed93a92
mov dword [esi + 0xb0], eax
je 0x4b2101
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0x37c539c7
mov dword [esi + 0xac], eax
je 0x4b1cff
jmp 0x4b1c90
mov eax, dword [esi + 0xfc]
sub eax, 0x54e8ac9c
mov dword [esi + 0xa8], eax
je 0x4b2035
jmp 0x4b1c90
jmp 0x4b22cd
mov eax, 0xd6e1d1ba
mov ecx, 0x37c539c7
mov dl, 1
mov dh, byte [esi + 0x132]
mov bl, byte [esi + 0x133]
mov bh, dh
xor bh, 1
mov dword [esi + 0xa4], eax
mov al, bl
xor al, 1
xor dl, 1
mov ah, bh
and ah, 1
and dh, dl
mov byte [esi + 0xa3], al
and al, 1
and bl, dl
or ah, dh
or al, bl
xor ah, al
mov al, byte [esi + 0xa3]
or bh, al
xor bh, 1
or dl, 1
and bh, dl
or ah, bh
test ah, 1
mov edi, dword [esi + 0xa4]
cmovne edi, ecx
mov dword [esi + 0x12c], edi
jmp 0x4b22cd
mov eax, 0
mov ecx, 0x3c
mov edx, 4
mov dword [esi + 0x9c], eax
mov eax, edx
mov dword [esi + 0x98], edx
mov dword [esi + 0x94], ecx
call fcn.004ddc10
mov eax, esp
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x98]
call fcn.004ddc10
mov eax, esp
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x98]
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x98]
mov dword [esi + 0x90], eax
mov eax, ecx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x98]
mov dword [esi + 0x8c], eax
mov eax, ecx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x98]
mov dword [esi + 0x88], eax
mov eax, ecx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x98]
mov dword [esi + 0x84], eax
mov eax, ecx
call fcn.004ddc10
mov eax, esp
mov ecx, 0x3c
mov dword [esi + 0x80], eax
mov eax, ecx
call fcn.004ddc10
mov eax, esp
and eax, 0xfffffff8
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x8c]
mov esp, eax
mov edi, dword [esi + 0x88]
mov ebx, dword [esi + 0x80]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x84]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x13c], eax
mov eax, dword [esi + 0x138]
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x108]
mov dword [eax], ecx
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x104]
mov dword [eax], ecx
mov eax, dword [esi + 0x124]
mov dword [edx], eax
mov eax, dword [esi + 0x10c]
mov dword [edi], eax
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x100]
mov dword [eax], ecx
mov eax, dword [esi + 0x120]
mov dword [ebx], eax
mov eax, dword [esi + 0x13c]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x68], edi
call fcn.004de490
add esp, 0xc
mov eax, dword [esi + 0x13c]
mov dword [eax], 0x3c
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
mov edx, dword [esi + 0x13c]
mov dword [edx + 0x10], ecx
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
mov edi, dword [esi + 0x13c]
mov dword [edi + 0x14], edx
mov edx, dword [esi + 0x68]
mov edi, dword [edx]
mov ebx, dword [esi + 0x13c]
mov dword [ebx + 0xc], edi
mov edi, dword [esi + 0x6c]
mov ebx, dword [edi]
mov eax, dword [esi + 0x13c]
mov dword [eax + 4], ebx
mov eax, dword [esi + 0x74]
mov ebx, dword [eax]
mov eax, dword [esi + 0x13c]
mov dword [eax + 0x1c], ebx
mov eax, dword [0x501398]
mov ebx, dword [esi + 0x13c]
sub esp, 4
mov ecx, esp
mov dword [ecx], ebx
call eax
mov ecx, 0xd6e1d1ba
mov edx, 0xd4cf9f40
mov bl, 1
cmp eax, 1
setne bh
and bh, 1
mov byte [esi + 0x142], bh
mov eax, dword [0x501448]
mov edi, dword [0x501444]
mov dword [esi + 0x64], eax
sub eax, 0x68ad9b51
sub eax, 1
add eax, 0x68ad9b51
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x60]
imul eax, ecx
and eax, 1
cmp eax, 0
sete bh
cmp edi, 0xa
setl al
mov ah, bh
xor ah, 1
mov cl, al
xor cl, 1
xor bl, 0
mov ch, ah
and ch, 0
and bh, bl
mov byte [esi + 0x5b], al
mov al, cl
and al, 0
mov byte [esi + 0x5a], al
mov al, byte [esi + 0x5b]
and al, bl
or ch, bh
mov bh, byte [esi + 0x5a]
or bh, al
xor ch, bh
or ah, cl
xor ah, 1
or bl, 0
and ah, bl
or ch, ah
test ch, 1
mov edi, dword [esi + 0x5c]
cmovne edi, edx
mov dword [esi + 0x12c], edi
jmp 0x4b22cd
mov eax, 0xb5756db
mov ecx, 0x9b72eeb
mov dl, byte [esi + 0x142]
test dl, 1
cmovne eax, ecx
mov dword [esi + 0x12c], eax
jmp 0x4b22cd
mov eax, dword [esi + 0x134]
mov dword [eax], 0xffffffff
mov dword [esi + 0x12c], 0x89bb9971
jmp 0x4b22cd
mov eax, 0xed6a5cb9
mov ecx, 0x54e8ac9c
mov dl, 1
mov edi, dword [0x501448]
mov ebx, dword [0x501444]
mov dword [esi + 0x54], eax
mov eax, edi
add eax, 0xd39cfeb5
sub eax, 1
sub eax, 0xd39cfeb5
imul edi, eax
and edi, 1
cmp edi, 0
sete dh
cmp ebx, 0xa
setl al
mov ah, dh
xor ah, 1
mov bl, al
xor bl, 1
xor dl, 1
mov bh, ah
and bh, 1
and dh, dl
mov byte [esi + 0x53], al
mov al, bl
and al, 1
mov byte [esi + 0x52], al
mov al, byte [esi + 0x53]
and al, dl
or bh, dh
mov dh, byte [esi + 0x52]
or dh, al
xor bh, dh
or ah, bl
xor ah, 1
or dl, 1
and ah, dl
or bh, ah
test bh, 1
mov edi, dword [esi + 0x54]
cmovne edi, ecx
mov dword [esi + 0x12c], edi
jmp 0x4b22cd
mov eax, 0xed6a5cb9
mov ecx, 0xbe29bb0a
mov dl, 1
mov edi, dword [esi + 0x138]
cmp dword [edi], 0
setne dh
and dh, 1
mov byte [esi + 0x143], dh
mov edi, dword [0x501448]
mov ebx, dword [0x501444]
mov dword [esi + 0x4c], eax
mov eax, edi
sub eax, 0x2a81972d
sub eax, 1
add eax, 0x2a81972d
imul edi, eax
and edi, 1
cmp edi, 0
sete dh
cmp ebx, 0xa
setl al
mov ah, dh
xor ah, 1
mov bl, al
xor bl, 1
xor dl, 1
mov bh, ah
and bh, 1
and dh, dl
mov byte [esi + 0x4b], al
mov al, bl
and al, 1
mov byte [esi + 0x4a], al
mov al, byte [esi + 0x4b]
and al, dl
or bh, dh
mov dh, byte [esi + 0x4a]
or dh, al
xor bh, dh
or ah, bl
xor ah, 1
or dl, 1
and ah, dl
or bh, ah
test bh, 1
mov edi, dword [esi + 0x4c]
cmovne edi, ecx
mov dword [esi + 0x12c], edi
jmp 0x4b22cd
mov eax, 0xf22d8fc9
mov ecx, 0x2ed93a92
mov dl, byte [esi + 0x143]
test dl, 1
cmovne eax, ecx
mov dword [esi + 0x12c], eax
jmp 0x4b22cd
mov eax, dword [0x5013e8]
mov ecx, dword [esi + 0x13c]
mov ecx, dword [ecx + 0x38]
sub esp, 8
mov edx, esp
mov dword [edx + 4], 0xffffffff
mov dword [edx], ecx
call eax
mov dword [esi + 0x12c], 0xf22d8fc9
mov dword [esi + 0x44], eax
jmp 0x4b22cd
mov eax, dword [esi + 0x134]
mov dword [eax], 0
mov dword [esi + 0x12c], 0x89bb9971
jmp 0x4b22cd
mov eax, dword [esi + 0x134]
mov eax, dword [eax]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0
mov ecx, 0x3c
mov edx, 4
mov dword [esi + 0x40], eax
mov eax, edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], ecx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x34], eax
mov eax, ecx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x30], eax
mov eax, ecx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x2c], eax
mov eax, ecx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x28], eax
mov eax, ecx
call fcn.004ddc10
mov eax, dword [esi + 0x2c]
mov ecx, esp
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x24], eax
mov eax, edx
mov dword [esi + 0x20], ecx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x1c], eax
mov eax, ecx
call fcn.004ddc10
mov eax, dword [esi + 0x20]
mov ecx, 0x3c
mov edx, esp
mov dword [esi + 0x18], eax
mov eax, ecx
mov dword [esi + 0x14], edx
call fcn.004ddc10
mov eax, esp
mov ecx, dword [esi + 0x30]
and eax, 0xfffffff8
mov edx, dword [esi + 0x1c]
mov esp, eax
mov edi, dword [esi + 0x28]
mov ebx, dword [esi + 0x108]
mov dword [ecx], ebx
mov ecx, dword [esi + 0x24]
mov ebx, dword [esi + 0x104]
mov dword [ecx], ebx
mov ecx, dword [esi + 0x124]
mov dword [edi], ecx
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x10c]
mov dword [ecx], ebx
mov ecx, dword [esi + 0x100]
mov dword [edx], ecx
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x120]
mov dword [ecx], ebx
mov ecx, eax
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
call fcn.004de490
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [eax], 0x3c
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 8]
mov edi, dword [edx]
mov dword [eax + 0x14], edi
mov edi, dword [esi + 0x18]
mov ebx, dword [edi]
mov dword [eax + 0xc], ebx
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx]
mov ecx, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x501398]
sub esp, 4
mov ecx, esp
mov edx, dword [esi + 0xc]
mov dword [ecx], edx
call eax
mov dword [esi + 0x12c], 0x37c539c7
mov dword [esi + 4], eax
jmp 0x4b22cd
mov eax, dword [esi + 0x138]
mov dword [esi + 0x12c], 0x54e8ac9c
mov dword [esi], eax
jmp 0x4b1a3b