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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x51a9ff
add esp, 0xfffffff0
call fcn.00403dfc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403a68
xor eax, eax
mov dword [ebx + 0x1f0], eax
mov dword [ebx + 0x48], 5
mov dword [ebx + 0x4c], 5
mov dword [ebx + 0x50], 0x327
mov dword [ebx + 0x54], 0x25d
mov byte [ebx + 0x4cc230], 0
mov dword [ebx + 0x4cc234], 0xffffffff
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x4cc25d], 0
mov byte [ebx + 0x4cc25e], 0
mov byte [ebx + 0x4cca60], 1
mov byte [ebx + 0x4cca61], 1
mov byte [ebx + 0x4cca62], 0
xor eax, eax
mov dword [ebx + 0x4cca64], eax
xor eax, eax
mov dword [ebx + 0x4cca68], eax
xor eax, eax
mov dword [ebx + 0x4cca6c], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x42f750]
call fcn.004323ec
mov esi, eax
mov dword [ebx + 0x4cca98], esi
mov eax, esi
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebx + 0x4cca98]
mov dl, 1
call fcn.00432838
mov eax, dword [ebx + 0x4cca98]
mov edx, 0x332
call fcn.00441198
mov eax, dword [ebx + 0x4cca98]
mov edx, 0xc8
call fcn.004411e4
mov eax, dword [ebx + 0x4cca98]
mov eax, dword [eax + 0x68]
mov edx, 0xffffff
call fcn.0042468c
mov dword [ebx + 0x4cc224], 0x160
mov dword [ebx + 0x4cc228], 0x120
xor esi, esi
cmp esi, 0x23
jbe 0x51ab00
call fcn.004039d8
xor eax, eax
mov dword [ebx + esi*4 + 0xd0], eax
inc esi
cmp esi, 0x24
jne 0x51aaf6
xor esi, esi
cmp esi, 0x23
jbe 0x51ab1b
call fcn.004039d8
xor eax, eax
mov dword [ebx + esi*4 + 0x160], eax
inc esi
cmp esi, 0x24
jne 0x51ab11
mov dl, 1
mov eax, dword [0x4dc1d4]
call fcn.004dc29c
mov esi, eax
mov dword [ebx + 8], esi
mov eax, esi
xor edx, edx
call fcn.004dc944
mov eax, dword [ebx + 8]
xor edx, edx
call fcn.004dc9b4
mov eax, dword [ebx + 8]
mov edx, 0x50
call fcn.004dca24
mov dl, 1
mov eax, dword [0x4dc1d4]
call fcn.004dc29c
mov esi, eax
mov dword [ebx + 0xc], esi
mov eax, esi
xor edx, edx
call fcn.004dc944
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004dc9b4
mov eax, dword [ebx + 0xc]
mov edx, 0x50
call fcn.004dca24
xor esi, esi
mov dl, 1
mov eax, dword [0x4dc1d4]
call fcn.004dc29c
mov edi, esi
cmp edi, 3
jbe 0x51aba6
call fcn.004039d8
mov dword [ebx + edi*4 + 0x34], eax
cmp esi, 3
jbe 0x51abb4
call fcn.004039d8
mov eax, dword [ebx + esi*4 + 0x34]
xor edx, edx
call fcn.004dc944
cmp esi, 3
jbe 0x51abc9
call fcn.004039d8
mov eax, dword [ebx + edi*4 + 0x34]
xor edx, edx
call fcn.004dc9b4
cmp esi, 3
jbe 0x51abde
call fcn.004039d8
mov eax, dword [ebx + edi*4 + 0x34]
mov edx, 0x50
call fcn.004dca24
inc esi
cmp esi, 4
jne 0x51ab8e
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f5ee0]
call fcn.004f6184
mov esi, eax
mov dword [ebx + 0x14], esi
mov eax, esi
mov edx, 5
call fcn.00441198
mov eax, dword [ebx + 0x14]
mov edx, 0x262
call fcn.004411bc
mov eax, dword [ebx + 0x14]
mov edx, 0x322
call fcn.004411e4
mov eax, dword [ebx + 0x14]
mov edx, 0x97
call fcn.00441208
mov eax, dword [ebx + 0x14]
mov edx, 0x73371a
call fcn.004f8a08
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x2f4], ebx
mov dword [eax + 0x2f0], 0x51c7dc
mov dword [eax + 0x2ec], ebx
mov dword [eax + 0x2e8], 0x51c818
call fcn.00441f90
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f8c54]
call fcn.004f8f10
mov esi, eax
mov dword [ebx + 0x10], esi
mov eax, esi
mov edx, 0x51b3f4
call fcn.004fb2e8
mov eax, dword [ebx + 0x10]
mov edx, 0xa0
call fcn.00441208
mov eax, dword [ebx + 0x10]
mov dl, 1
call fcn.004fb39c
mov eax, dword [ebx + 0x10]
xor edx, edx
call fcn.004fae0c
mov eax, dword [ebx + 0x10]
xor edx, edx
call fcn.004fb2d0
mov eax, dword [ebx + 0x10]
xor edx, edx
call fcn.004fb2dc
mov eax, dword [ebx + 0x10]
mov edx, 0x329
call fcn.00441198
mov eax, dword [ebx + 0x10]
mov edx, 5
call fcn.004411bc
mov eax, dword [ebx + 0x10]
mov edx, 0xd7
call fcn.004411e4
mov eax, dword [ebx + 0x10]
mov edx, 0xc56a31
call fcn.00441bf0
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x504], ebx
mov dword [eax + 0x500], 0x51c260
mov dword [eax + 0x4fc], ebx
mov dword [eax + 0x4f8], 0x51c494
mov edx, dword [eax + 0x44]
add edx, dword [eax + 0x4c]
add edx, 0xf
mov eax, dword [ebx + 0x4cca98]
call fcn.004411bc
mov eax, dword [ebx + 0x4cca98]
call fcn.00441f90
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4d3738]
call fcn.004d3928
mov esi, eax
mov dword [ebx + 0x18], esi
mov eax, esi
xor edx, edx
call fcn.00438808
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00441a80
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x18]
call fcn.004411bc
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x18]
call fcn.00441198
mov edx, dword [ebx + 0x50]
sub edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x18]
call fcn.004411e4
mov edx, dword [ebx + 0x54]
sub edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x18]
call fcn.00441208
mov eax, dword [ebx + 0x18]
mov edx, 0xd0d0d0
call fcn.00441bf0
mov dl, 1
mov eax, dword [0x4d57bc]
call fcn.004d581c
mov esi, eax
mov dword [ebx + 0x44], esi
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.004d5cd8
mov eax, dword [ebx + 0x44]
mov edx, 0xffff
call fcn.004d5ca4
mov eax, dword [ebx + 0x44]
call fcn.004d59ac
xor esi, esi
mov dl, 1
mov eax, dword [0x4fb470]
call fcn.004fb4d0
mov edi, esi
cmp edi, 3
jbe 0x51ade6
call fcn.004039d8
mov dword [ebx + edi*4 + 0x24], eax
cmp esi, 3
jbe 0x51adf4
call fcn.004039d8
mov eax, dword [ebx + esi*4 + 0x24]
xor edx, edx
call fcn.004fb79c
cmp esi, 3
jbe 0x51ae09
call fcn.004039d8
mov eax, dword [ebx + edi*4 + 0x24]
mov edx, dword [ebx + 0x18]
call fcn.004fb650
cmp esi, 3
jbe 0x51ae1f
call fcn.004039d8
mov eax, dword [ebx + edi*4 + 0x24]
mov edx, esi
call fcn.004fb668
cmp esi, 3
jbe 0x51ae34
call fcn.004039d8
mov eax, dword [ebx + edi*4 + 0x24]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], 0x51b62c
cmp esi, 3
jbe 0x51ae4c
call fcn.004039d8
mov eax, dword [ebx + esi*4 + 0x24]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], 0x51b724
cmp esi, 3
jbe 0x51ae64
call fcn.004039d8
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], 0x51b7e4
cmp esi, 3
jbe 0x51ae78
call fcn.004039d8
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], 0x51b85c
cmp esi, 3
jbe 0x51ae8c
call fcn.004039d8
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x51b8d4
cmp esi, 3
jbe 0x51aea0
call fcn.004039d8
mov dword [eax + 0x44], ebx
mov dword [eax + 0x40], 0x51bc90
cmp esi, 3
jbe 0x51aeb4
call fcn.004039d8
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x48], 0x51bcc4
cmp esi, 3
jbe 0x51aec8
call fcn.004039d8
mov dword [eax + 0x54], ebx
mov dword [eax + 0x50], 0x51bcf8
inc esi
cmp esi, 4
jne 0x51adce
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4d3738]
call fcn.004d3928
mov esi, eax
mov dword [ebx + 0x1c], esi
mov eax, esi
xor edx, edx
call fcn.00438808
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.00441a80
mov eax, dword [ebx + 0x1c]
mov edx, 0x17c
call fcn.004411bc
mov eax, dword [ebx + 0x1c]
mov edx, 0x32e
call fcn.00441198
mov eax, dword [ebx + 0x1c]
mov edx, 0xcd
call fcn.004411e4
mov eax, dword [ebx + 0x1c]
mov edx, 0xb4
call fcn.00441208
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.00441bf0
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.00441970
mov byte [ebx + 0x4cc21b], 0
mov byte [ebx + 0x4cc21a], 0
xor eax, eax
mov dword [ebx + 0x4cc21c], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x43693c]
call fcn.00438228
mov esi, eax
mov dword [ebx + 0x20], esi
mov eax, esi
xor edx, edx
call fcn.004383b0
push ebx
push 0x51c814
mov eax, dword [ebx + 0x20]
call fcn.004383d0
mov eax, dword [ebx + 0x20]
mov edx, 0x1f4
call fcn.004383c0
xor esi, esi
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51afaa
call fcn.004039d8
lea eax, [eax + eax*2]
xor edx, edx
mov dword [ebx + eax*8 + 0x70], edx
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51afc5
call fcn.004039d8
xor edx, edx
mov dword [ebx + eax*8 + 0x74], edx
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51afdd
call fcn.004039d8
mov edx, dword [ebx + 0x4cc224]
test edx, edx
jns 0x51afec
call fcn.004039d8
mov dword [ebx + eax*8 + 0x78], edx
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b002
call fcn.004039d8
mov edx, dword [ebx + 0x4cc228]
test edx, edx
jns 0x51b011
call fcn.004039d8
mov dword [ebx + eax*8 + 0x7c], edx
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b027
call fcn.004039d8
xor edx, edx
mov dword [ebx + eax*8 + 0x80], edx
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b042
call fcn.004039d8
xor edx, edx
mov dword [ebx + eax*8 + 0x84], edx
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b05d
call fcn.004039d8
lea ecx, [ebx + eax*8 + 0x70]
lea edx, [esi + 0x25]
mov eax, dword [0x534678]
mov eax, dword [eax]
call fcn.004dd43c
inc esi
cmp esi, 4
jne 0x51af99
mov dl, 1
mov eax, dword [0x4d57bc]
call fcn.004d581c
mov esi, eax
mov dword [ebx + 0x44], esi
mov eax, esi
mov dl, 2
call fcn.004d5c50
mov eax, dword [ebx + 0x44]
mov edx, 0x44b7dc
call fcn.004d5ca4
mov eax, dword [ebx + 0x44]
call fcn.004d59ac
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a7064]
call fcn.004a7a3c
mov esi, eax
mov dword [ebx + 0x4cca90], esi
mov eax, esi
mov edx, 0x235
call fcn.004411bc
mov eax, dword [ebx + 0x4cca90]
mov edx, 0x32f
call fcn.00441198
mov eax, dword [ebx + 0x4cca90]
mov edx, 0xc3
call fcn.004411e4
mov eax, dword [ebx + 0x4cca90]
mov edx, 0xfffffffd
call fcn.004a7fe0
mov eax, dword [ebx + 0x4cca90]
mov edx, 3
call fcn.004a7fa4
mov eax, dword [ebx + 0x4cca90]
xor edx, edx
call fcn.004a8030
mov eax, dword [ebx + 0x4cca90]
mov dl, 1
call fcn.004a8ab4
mov eax, dword [ebx + 0x4cca90]
mov dl, 1
call fcn.004a8080
mov eax, dword [ebx + 0x4cca90]
mov dl, 1
call fcn.00441970
mov eax, dword [ebx + 0x4cca90]
mov dword [eax + 0x24c], ebx
mov dword [eax + 0x248], 0x51cd44
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b109c]
call fcn.004b14c4
mov esi, eax
mov dword [ebx + 0x4cca94], esi
mov eax, esi
mov edx, 0x290
call fcn.004411bc
mov eax, dword [ebx + 0x4cca94]
mov edx, 0x330
call fcn.00441198
mov eax, dword [ebx + 0x4cca94]
mov edx, 0xc9
call fcn.004411e4
mov eax, dword [ebx + 0x4cca94]
mov edx, 9
call fcn.00441208
mov eax, dword [ebx + 0x4cca94]
mov edx, 0x64
call fcn.004b19f4
mov eax, dword [ebx + 0x4cca94]
xor edx, edx
call fcn.004b1a00
mov eax, dword [ebx + 0x4cca94]
xor edx, edx
call fcn.004b1a34
mov eax, dword [ebx + 0x4cca94]
call fcn.00441f88
xor esi, esi
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b1ef
call fcn.004039d8
imul edi, eax, 0x3e
xor eax, eax
mov dword [ebx + edi*8 + 0x4cc260], eax
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b20c
call fcn.004039d8
xor eax, eax
mov dword [ebx + edi*8 + 0x4cc264], eax
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b226
call fcn.004039d8
mov byte [ebx + edi*8 + 0x4cc438], 0
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b23f
call fcn.004039d8
mov eax, dword [ebx + 0x4cc224]
test eax, eax
jns 0x51b24e
call fcn.004039d8
mov dword [ebx + edi*8 + 0x4cc420], eax
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b266
call fcn.004039d8
mov eax, dword [ebx + 0x4cc228]
test eax, eax
jns 0x51b275
call fcn.004039d8
mov dword [ebx + edi*8 + 0x4cc424], eax
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b28d
call fcn.004039d8
xor eax, eax
mov dword [ebx + edi*8 + 0x4cc428], eax
mov dword [ebx + edi*8 + 0x4cc42c], 0x3ff00000
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b2b2
call fcn.004039d8
xor eax, eax
mov dword [ebx + edi*8 + 0x4cc430], eax
mov dword [ebx + edi*8 + 0x4cc434], 0x3ff00000
inc esi
cmp esi, 4
jne 0x51b1de
xor esi, esi
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b2e3
call fcn.004039d8
mov byte [ebx + eax*8 + 0x4cca20], 0
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b2fd
call fcn.004039d8
mov byte [ebx + eax*8 + 0x4cca21], 0xff
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b317
call fcn.004039d8
xor edx, edx
mov dword [ebx + eax*8 + 0x4cca24], edx
inc esi
cmp esi, 4
jne 0x51b2d2
xor esi, esi
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b339
call fcn.004039d8
xor edx, edx
mov dword [ebx + eax*4 + 0x1f4], edx
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b354
call fcn.004039d8
xor edx, edx
mov dword [ebx + eax*4 + 0x204], edx
inc esi
cmp esi, 4
jne 0x51b328
xor esi, esi
mov eax, esi
and eax, 0xff
cmp eax, 3
jbe 0x51b376
call fcn.004039d8
mov byte [ebx + eax + 0x4cc238], 0x19
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b390
call fcn.004039d8
xor edx, edx
mov dword [ebx + eax*4 + 0x4cc23c], edx
mov edx, esi
and edx, 0xff
cmp edx, 3
jbe 0x51b3ab
call fcn.004039d8
xor edx, edx
mov dword [ebx + eax*4 + 0x4cc24c], edx
inc esi
cmp esi, 4
jne 0x51b365
mov dl, 1
mov eax, dword [0x519b4c]
call fcn.0051fc8c
mov dword [ebx + case.0x4cc918.0], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x51b3e3
call fcn.00403e54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret