Function at 0x4c9370
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1d8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov esi, dword [0x4fc554]
mov edi, dword [0x4fc550]
mov ebx, esi
sub ebx, 0x56c723a
sub ebx, 1
add ebx, 0x56c723a
imul esi, ebx
and esi, 1
cmp esi, 0
sete bl
and bl, 1
mov byte [ebp - 0x4a], bl
cmp edi, 0xa
setl bl
and bl, 1
mov byte [ebp - 0x49], bl
mov dword [ebp - 0x50], 0xbf11bd92
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
sub ecx, 0x7ecddcac
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
jg 0x4c9974
jmp 0x4c93f8
mov eax, dword [ebp - 0x60]
sub eax, 0x8cde8b2f
mov dword [ebp - 0x68], eax
jg 0x4c9424
jmp 0x4c940e
mov eax, dword [ebp - 0x60]
sub eax, 0x85da8af5
mov dword [ebp - 0x6c], eax
je 0x4c9c25
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x98e3a607
mov dword [ebp - 0x70], eax
jg 0x4c9450
jmp 0x4c943a
mov eax, dword [ebp - 0x60]
sub eax, 0x8cde8b30
mov dword [ebp - 0x74], eax
je 0x4c9e16
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xa1ae4648
mov dword [ebp - 0x78], eax
jg 0x4c947c
jmp 0x4c9466
mov eax, dword [ebp - 0x60]
sub eax, 0x98e3a608
mov dword [ebp - 0x7c], eax
je 0x4ca1a8
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xa30e1e42
mov dword [ebp - 0x80], eax
jg 0x4c94ab
jmp 0x4c9492
mov eax, dword [ebp - 0x60]
sub eax, 0xa1ae4649
mov dword [ebp - 0x84], eax
je 0x4c9f67
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xbcc353db
mov dword [ebp - 0x88], eax
jg 0x4c94dd
jmp 0x4c94c4
mov eax, dword [ebp - 0x60]
sub eax, 0xa30e1e43
mov dword [ebp - 0x8c], eax
je 0x4c9e22
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xbf11bd91
mov dword [ebp - 0x90], eax
jg 0x4c950f
jmp 0x4c94f6
mov eax, dword [ebp - 0x60]
sub eax, 0xbcc353dc
mov dword [ebp - 0x94], eax
je 0x4ca43b
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xc146f182
mov dword [ebp - 0x98], eax
jg 0x4c9541
jmp 0x4c9528
mov eax, dword [ebp - 0x60]
sub eax, 0xbf11bd92
mov dword [ebp - 0x9c], eax
je 0x4c9992
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xc350be4e
mov dword [ebp - 0xa0], eax
jg 0x4c9573
jmp 0x4c955a
mov eax, dword [ebp - 0x60]
sub eax, 0xc146f183
mov dword [ebp - 0xa4], eax
je 0x4c9ffd
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xc484ffc8
mov dword [ebp - 0xa8], eax
jg 0x4c95a5
jmp 0x4c958c
mov eax, dword [ebp - 0x60]
sub eax, 0xc350be4f
mov dword [ebp - 0xac], eax
je 0x4ca095
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xc76ef22c
mov dword [ebp - 0xb0], eax
jg 0x4c95d7
jmp 0x4c95be
mov eax, dword [ebp - 0x60]
sub eax, 0xc484ffc9
mov dword [ebp - 0xb4], eax
je 0x4c9cde
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xd27ec610
mov dword [ebp - 0xb8], eax
jg 0x4c9609
jmp 0x4c95f0
mov eax, dword [ebp - 0x60]
sub eax, 0xc76ef22d
mov dword [ebp - 0xbc], eax
je 0x4c9cc0
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xd5d08996
mov dword [ebp - 0xc0], eax
jg 0x4c963b
jmp 0x4c9622
mov eax, dword [ebp - 0x60]
sub eax, 0xd27ec611
mov dword [ebp - 0xc4], eax
je 0x4ca100
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xd92688e4
mov dword [ebp - 0xc8], eax
jg 0x4c966d
jmp 0x4c9654
mov eax, dword [ebp - 0x60]
sub eax, 0xd5d08997
mov dword [ebp - 0xcc], eax
je 0x4c9f5b
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xdfdc816f
mov dword [ebp - 0xd0], eax
jg 0x4c969f
jmp 0x4c9686
mov eax, dword [ebp - 0x60]
sub eax, 0xd92688e5
mov dword [ebp - 0xd4], eax
je 0x4c99b8
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xfbd28a4d
mov dword [ebp - 0xd8], eax
jg 0x4c96d1
jmp 0x4c96b8
mov eax, dword [ebp - 0x60]
sub eax, 0xdfdc8170
mov dword [ebp - 0xdc], eax
je 0x4ca058
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x34c25fa
mov dword [ebp - 0xe0], eax
jg 0x4c9703
jmp 0x4c96ea
mov eax, dword [ebp - 0x60]
sub eax, 0xfbd28a4e
mov dword [ebp - 0xe4], eax
je 0x4c9ee5
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x8db1271
mov dword [ebp - 0xe8], eax
jg 0x4c9735
jmp 0x4c971c
mov eax, dword [ebp - 0x60]
sub eax, 0x34c25fb
mov dword [ebp - 0xec], eax
je 0x4c9e8f
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xc4a7a99
mov dword [ebp - 0xf0], eax
jg 0x4c9767
jmp 0x4c974e
mov eax, dword [ebp - 0x60]
sub eax, 0x8db1272
mov dword [ebp - 0xf4], eax
je 0x4ca1b3
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x684be326
mov dword [ebp - 0xf8], eax
jg 0x4c995b
jmp 0x4c9780
mov eax, dword [ebp - 0x60]
sub eax, 0x6782a455
mov dword [ebp - 0xfc], eax
jg 0x4c9942
jmp 0x4c9799
mov eax, dword [ebp - 0x60]
sub eax, 0x5ecb9c94
mov dword [ebp - 0x100], eax
jg 0x4c9929
jmp 0x4c97b2
mov eax, dword [ebp - 0x60]
sub eax, 0x54237265
mov dword [ebp - 0x104], eax
jg 0x4c9910
jmp 0x4c97cb
mov eax, dword [ebp - 0x60]
sub eax, 0x4b38a299
mov dword [ebp - 0x108], eax
jg 0x4c98f7
jmp 0x4c97e4
mov eax, dword [ebp - 0x60]
sub eax, 0x3499ce8c
mov dword [ebp - 0x10c], eax
jg 0x4c98de
jmp 0x4c97fd
mov eax, dword [ebp - 0x60]
sub eax, 0x2f65c0c1
mov dword [ebp - 0x110], eax
jg 0x4c98c5
jmp 0x4c9816
mov eax, dword [ebp - 0x60]
sub eax, 0x245db2d5
mov dword [ebp - 0x114], eax
jg 0x4c98ac
jmp 0x4c982f
mov eax, dword [ebp - 0x60]
sub eax, 0xc54e4dc
mov dword [ebp - 0x118], eax
jg 0x4c9861
jmp 0x4c9848
mov eax, dword [ebp - 0x60]
sub eax, 0xc4a7a9a
mov dword [ebp - 0x11c], eax
je 0x4c9c0a
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0xc54e4dd
mov dword [ebp - 0x120], eax
je 0x4ca3e3
jmp 0x4c987a
mov eax, dword [ebp - 0x60]
sub eax, 0x11c80ad9
mov dword [ebp - 0x124], eax
je 0x4c9c5e
jmp 0x4c9893
mov eax, dword [ebp - 0x60]
sub eax, 0x11d0ed2e
mov dword [ebp - 0x128], eax
je 0x4ca064
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x245db2d6
mov dword [ebp - 0x12c], eax
je 0x4c9e41
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x2f65c0c2
mov dword [ebp - 0x130], eax
je 0x4ca467
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x3499ce8d
mov dword [ebp - 0x134], eax
je 0x4ca0aa
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x4b38a29a
mov dword [ebp - 0x138], eax
je 0x4c9c52
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x54237266
mov dword [ebp - 0x13c], eax
je 0x4c9cb4
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x5ecb9c95
mov dword [ebp - 0x140], eax
je 0x4ca089
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x6782a456
mov dword [ebp - 0x144], eax
je 0x4ca473
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x684be327
mov dword [ebp - 0x148], eax
je 0x4c9c90
jmp 0x4c998d
mov eax, dword [ebp - 0x60]
sub eax, 0x7ecddcad
mov dword [ebp - 0x14c], eax
je 0x4c9d74
jmp 0x4c998d
jmp 0x4ca483
mov eax, 0x8db1272
mov ecx, 0xd92688e5
mov dl, byte [ebp - 0x4a]
mov dh, byte [ebp - 0x49]
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov eax, 0x8db1272
mov ecx, 0xc4a7a9a
mov dl, 1
mov esi, 4
mov dword [ebp - 0x150], eax
mov eax, esi
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x158], ecx
mov byte [ebp - 0x159], dl
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x160], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x164], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x168], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x154]
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x16c], ecx
call fcn.004d8d00
mov eax, dword [ebp - 0x164]
mov ecx, esp
mov esi, dword [ebp - 0x168]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x16c]
mov edi, dword [ebp - 0x58]
mov dword [ecx], edi
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x54]
mov dword [ebx], ecx
mov ebx, dword [ebp - 0x5c]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], 0
mov dword [esi], 0
mov ecx, dword [ebp - 0x16c]
mov esi, dword [ecx]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], esi
mov ecx, dword [ebp - 0x34]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x30]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
sete dl
and dl, 1
mov byte [ebp - 0x11], dl
mov eax, dword [0x4fc554]
mov ecx, dword [0x4fc550]
mov esi, eax
sub esi, 0x95a02959
sub esi, 1
add esi, 0x95a02959
imul eax, esi
and eax, 1
cmp eax, 0
sete dl
cmp ecx, 0xa
setl dh
mov al, dl
xor al, 1
mov ah, dh
xor ah, 1
mov cl, byte [ebp - 0x159]
xor cl, 1
mov ch, al
and ch, 1
and dl, cl
mov bl, ah
and bl, 1
and dh, cl
or ch, dl
or bl, dh
xor ch, bl
or al, ah
xor al, 1
or cl, 1
and al, cl
or ch, al
test ch, 1
mov esi, dword [ebp - 0x150]
mov edi, dword [ebp - 0x158]
cmovne esi, edi
mov dword [ebp - 0x50], esi
jmp 0x4ca483
mov eax, 0xc484ffc9
mov ecx, 0x85da8af5
mov dl, byte [ebp - 0x11]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov eax, 0x11c80ad9
mov ecx, 0x4b38a29a
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov esi, dword [ebp - 0x40]
mov dword [esi], edx
mov edx, dword [ebp - 0x40]
mov edx, dword [edx]
movzx edx, word [edx]
cmp edx, 0x5a4d
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov dword [ebp - 0x50], 0xc350be4f
jmp 0x4ca483
mov eax, 0x684be327
mov ecx, 0x54237266
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov esi, dword [ebp - 0x40]
mov esi, dword [esi]
add edx, dword [esi + 0x3c]
mov esi, dword [ebp - 0x3c]
mov dword [esi], edx
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
cmp dword [edx], 0x4550
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov eax, 0xc76ef22d
mov ecx, 0x54237266
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
movzx edx, word [edx + 0x18]
cmp edx, 0x10b
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov dword [ebp - 0x50], 0xc350be4f
jmp 0x4ca483
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x78]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov dword [ebp - 0x50], 0xc484ffc9
jmp 0x4ca483
mov eax, 0xc54e4dd
mov ecx, 0x7ecddcad
mov dl, 1
mov esi, dword [0x4fc554]
mov edi, dword [0x4fc550]
mov ebx, esi
sub ebx, 0xb0d78a7c
sub ebx, 1
add ebx, 0xb0d78a7c
imul esi, ebx
and esi, 1
cmp esi, 0
sete dh
cmp edi, 0xa
setl bl
mov bh, dh
xor bh, 1
mov dword [ebp - 0x170], eax
mov al, bl
xor al, 1
xor dl, 1
mov ah, bh
and ah, 1
and dh, dl
mov byte [ebp - 0x171], al
and al, 1
and bl, dl
or ah, dh
or al, bl
xor ah, al
mov al, byte [ebp - 0x171]
or bh, al
xor bh, 1
or dl, 1
and bh, dl
or ah, bh
test ah, 1
mov esi, dword [ebp - 0x170]
cmovne esi, ecx
mov dword [ebp - 0x50], esi
jmp 0x4ca483
mov eax, 0xc54e4dd
mov ecx, 0x8cde8b30
mov edx, 0
mov esi, dword [ebp - 0x28]
mov esi, dword [esi]
mov edi, dword [ebp - 0x38]
mov edi, dword [edi]
add esi, dword [edi + 0x20]
mov edi, dword [ebp - 0x34]
mov dword [edi], esi
mov esi, dword [ebp - 0x38]
mov esi, dword [esi]
mov esi, dword [esi + 0x18]
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov esi, dword [ebp - 0x28]
mov esi, dword [esi]
mov edi, dword [ebp - 0x38]
mov edi, dword [edi]
add esi, dword [edi + 0x24]
mov edi, dword [ebp - 0x2c]
mov dword [edi], esi
mov esi, dword [ebp - 0x28]
mov esi, dword [esi]
mov edi, dword [ebp - 0x38]
mov edi, dword [edi]
add esi, dword [edi + 0x1c]
mov edi, dword [ebp - 0x30]
mov dword [edi], esi
mov esi, dword [ebp - 0x18]
mov dword [esi], 0
mov esi, dword [0x4fc554]
mov edi, dword [0x4fc550]
sub edx, 1
mov ebx, esi
add ebx, edx
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov dword [ebp - 0x50], 0xa30e1e43
jmp 0x4ca483
mov eax, 0x5ecb9c95
mov ecx, 0x245db2d6
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov esi, dword [ebp - 0x20]
cmp edx, dword [esi]
cmovb eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.00408a20
add esp, 4
mov ecx, 0xa1ae4649
mov edx, 0x34c25fb
mov esi, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov esi, dword [ebp - 0x44]
cmp eax, dword [esi]
cmove ecx, edx
mov dword [ebp - 0x50], ecx
jmp 0x4ca483
mov eax, 0xbcc353dc
mov ecx, 0xfbd28a4e
mov edx, 0
mov esi, dword [0x4fc554]
mov edi, dword [0x4fc550]
sub edx, 1
mov ebx, esi
add ebx, edx
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov eax, 0xbcc353dc
mov ecx, 0xd5d08997
mov edx, 0
mov esi, dword [ebp - 0x28]
mov esi, dword [esi]
mov edi, dword [ebp - 0x18]
mov edi, dword [edi]
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
movzx edi, word [ebx + edi*2]
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
add esi, dword [ebx + edi*4]
mov edi, dword [ebp - 0x48]
mov dword [edi], esi
mov esi, dword [0x4fc554]
mov edi, dword [0x4fc550]
sub edx, 1
mov ebx, esi
add ebx, edx
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov dword [ebp - 0x50], 0x3499ce8d
jmp 0x4ca483
mov eax, 0x2f65c0c2
mov ecx, 0xc146f183
mov dl, 1
mov esi, dword [0x4fc554]
mov edi, dword [0x4fc550]
mov ebx, esi
add ebx, 0xc3d69a82
sub ebx, 1
sub ebx, 0xc3d69a82
imul esi, ebx
and esi, 1
cmp esi, 0
sete dh
cmp edi, 0xa
setl bl
mov bh, dh
xor bh, 1
mov dword [ebp - 0x178], eax
mov al, bl
xor al, 1
xor dl, 1
mov ah, bh
and ah, 1
and dh, dl
mov byte [ebp - 0x179], al
and al, 1
and bl, dl
or ah, dh
or al, bl
xor ah, al
mov al, byte [ebp - 0x179]
or bh, al
xor bh, 1
or dl, 1
and bh, dl
or ah, bh
test ah, 1
mov esi, dword [ebp - 0x178]
cmovne esi, ecx
mov dword [ebp - 0x50], esi
jmp 0x4ca483
mov eax, 0x2f65c0c2
mov ecx, 0xdfdc8170
mov edx, dword [0x4fc554]
mov esi, dword [0x4fc550]
mov edi, edx
add edi, 0xa7d7c028
sub edi, 1
sub edi, 0xa7d7c028
imul edx, edi
and edx, 1
cmp edx, 0
sete bl
cmp esi, 0xa
setl bh
mov dl, bl
and dl, bh
xor bl, bh
or dl, bl
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov dword [ebp - 0x50], 0x11d0ed2e
jmp 0x4ca483
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x6d9a8d93
add eax, 1
add eax, 0x6d9a8d93
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [ebp - 0x50], 0xa30e1e43
jmp 0x4ca483
mov dword [ebp - 0x50], 0xc350be4f
jmp 0x4ca483
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [ebp - 0x50], 0x3499ce8d
jmp 0x4ca483
mov eax, 0x6782a456
mov ecx, 0xd27ec611
mov edx, 0
mov esi, dword [0x4fc554]
mov edi, dword [0x4fc550]
sub edx, 1
mov ebx, esi
add ebx, edx
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x4ca483
mov eax, 0x6782a456
mov ecx, 0x98e3a608
mov dl, 1
mov esi, 0
mov edi, dword [ebp - 0x48]
mov edi, dword [edi]
mov dword [ebp - 0x10], edi
mov edi, dword [0x4fc554]
mov ebx, dword [0x4fc550]
sub esi, 1
mov dword [ebp - 0x180], eax
mov eax, edi
add eax, esi
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 [ebp - 0x181], al
mov al, bl
and al, 1
mov byte [ebp - 0x182], al
mov al, byte [ebp - 0x181]
and al, dl
or bh, dh
mov dh, byte [ebp - 0x182]
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 esi, dword [ebp - 0x180]
cmovne esi, ecx
mov dword [ebp - 0x50], esi
jmp 0x4ca483
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x188], eax
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x190], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x194], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x198], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x19c], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x1a0], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x1a4], eax
mov eax, ecx
call fcn.004d8d00
mov eax, dword [ebp - 0x19c]
mov ecx, esp
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x1a8], eax
mov eax, edx
mov dword [ebp - 0x1ac], ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ebp - 0x190]
mov esi, dword [ebp - 0x188]
mov dword [ebp - 0x1b0], eax
mov eax, esi
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1b8], edx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x1ac]
mov esi, dword [ebp - 0x188]
mov dword [ebp - 0x1bc], eax
mov eax, esi
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1c4], edx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x1c8], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x1cc], eax
mov eax, ecx
call fcn.004d8d00
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1cc]
mov edx, esp
mov esi, dword [ebp - 0x1bc]
mov edi, dword [ebp - 0x194]
mov ebx, dword [ebp - 0x188]
mov dword [ebp - 0x1d0], eax
mov eax, ebx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1e0], edi
call fcn.004d8d00
mov eax, esp
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x1d8]
mov esi, dword [ebp - 0x1b8]
mov edi, dword [ebp - 0x58]
mov dword [esi], edi
mov ebx, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x54]
mov dword [ebx], esi
mov esi, dword [ebp - 0x5c]
mov dword [ecx], esi
mov esi, dword [ebp - 0x1a8]
mov dword [esi], 0
mov esi, dword [ebp - 0x1c0]
mov dword [esi], 0
mov esi, dword [ebp - 0x1b4]
mov dword [esi], 0
mov esi, dword [ebp - 0x1b8]
mov esi, dword [esi]
mov edi, dword [ebp - 0x1c4]
mov dword [edi], esi
mov esi, dword [ebp - 0x1d0]
mov dword [esi], 0
mov esi, dword [ebp - 0x1dc]
mov dword [esi], 0
mov esi, dword [ebp - 0x1c8]
mov dword [esi], 0
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x1d4]
mov dword [esi], ecx
mov dword [edx], 0
mov dword [eax], 0
mov dword [ebp - 0x50], 0xd92688e5
jmp 0x4ca483
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov dword [ebp - 0x50], 0x7ecddcad
jmp 0x4ca483
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov dword [ebp - 0x50], 0xfbd28a4e
jmp 0x4ca483
mov dword [ebp - 0x50], 0xc146f183
jmp 0x4ca483
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], 0xd27ec611
mov dword [ebp - 0x1e4], eax
jmp 0x4c93dc