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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [ebp + 8]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ecx
mov eax, dword [esp + 0xf0]
cmp dword [eax + 0x80], 0
mov dword [esp + 0xbc], eax
je 0x4d0322
cmp dword [esp + 0xf4], 0
jne 0x4d0332
mov dword [esp + 0xf8], 0
jmp 0x4d1060
mov eax, dword [esp + 0xbc]
call fcn.004d10a0
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xe8], 0
mov ecx, dword [esp + 0xf4]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0xec]
add edx, 0xc
mov esi, esp
mov dword [esi + 8], ecx
mov dword [esi], edx
mov dword [esi + 4], 0
mov ecx, eax
call fcn.004da890
sub esp, 0xc
mov ecx, 0xffffffff
mov edx, dword [esp + 0xe8]
mov esi, edx
xor esi, 0xffffffff
and esi, 0xd1ad8a7
mov edi, ecx
xor edi, 0xd1ad8a7
mov ebx, edx
and ebx, edi
mov dword [esp + 0xb8], eax
mov eax, ecx
xor eax, 0xffffffff
and eax, 0xd1ad8a7
and edi, 0xffffffff
or esi, ebx
or eax, edi
xor esi, eax
mov eax, dword [esp + 0xb8]
xor eax, 0xffffffff
and eax, 0x5013df58
mov edi, ecx
xor edi, 0x5013df58
mov ebx, dword [esp + 0xb8]
and ebx, edi
mov dword [esp + 0xb4], eax
mov eax, ecx
xor eax, 0xffffffff
and eax, 0x5013df58
and edi, 0xffffffff
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
or eax, ebx
mov ebx, dword [esp + 0xb0]
or ebx, edi
xor eax, ebx
mov edi, ecx
xor edi, 0x1fd46397
and edi, 0xffffffff
mov ebx, ecx
xor ebx, 0xffffffff
and ebx, 0x1fd46397
or edi, ebx
mov ebx, ecx
xor ebx, 0x1fd46397
mov dword [esp + 0xac], eax
mov eax, esi
xor eax, ebx
and eax, esi
mov ebx, 0x447c9c
mov ebx, edi
xor ebx, 0xffffffff
mov dword [esp + 0xa8], eax
mov eax, edx
xor eax, ebx
and eax, edx
mov edx, dword [esp + 0xac]
xor edx, 0x544c9424
xor edx, 0xabb36bdb
mov ebx, ecx
xor ebx, 0x1fd46397
mov dword [esp + 0xa4], eax
mov eax, ecx
xor eax, 0x48c79881
or edx, ebx
or eax, 0x48c79881
xor edx, 0xffffffff
and edx, eax
mov eax, dword [esp + 0xb8]
xor eax, 0xffffffff
mov ebx, edi
xor ebx, 0xba1413cc
xor ebx, 0x45ebec33
mov dword [esp + 0xa0], eax
mov eax, ecx
push ebx
mov ebx, 0x216000ba
xor ebx, 0xf9a6250f
xor eax, ebx
pop ebx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa0]
or eax, ebx
mov ebx, dword [esp + 0x9c]
or ebx, 0xd8c625b5
xor eax, 0xffffffff
and eax, ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa4]
and ebx, eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0xa4]
xor eax, ecx
or ebx, eax
mov eax, 0x447b4c
mov eax, edx
xor eax, 0xffffffff
mov ecx, dword [esp + 0x98]
xor ecx, 0xffffffff
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x94]
xor eax, 0x424eae86
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x90]
and eax, 0x424eae86
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x8c]
and edx, eax
mov eax, ecx
and eax, 0x424eae86
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x8c]
and eax, ecx
mov ecx, dword [esp + 0x88]
or ecx, edx
mov edx, dword [esp + 0x84]
or edx, eax
xor ecx, edx
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x80]
or eax, edx
xor eax, 0xffffffff
mov edx, dword [esp + 0x8c]
or edx, 0x424eae86
and eax, edx
or ecx, eax
mov eax, ebx
xor eax, 0xffffffff
mov edx, ecx
and edx, eax
xor ecx, 0xffffffff
and ebx, ecx
or edx, ebx
mov eax, esi
mov ecx, dword [esp + 0xac]
and eax, ecx
xor esi, ecx
or eax, esi
mov esi, eax
xor esi, 0xffffffff
and esi, 0xfcdef0df
mov ebx, dword [esp + 0x94]
xor ebx, 0xfcdef0df
and eax, ebx
mov ecx, dword [esp + 0x94]
xor ecx, 0xffffffff
and ecx, 0xfcdef0df
and ebx, 0xffffffff
or esi, eax
or ecx, ebx
xor esi, ecx
mov eax, edi
and eax, 0x1fd46397
xor edi, 0x1fd46397
or eax, edi
xor esi, 0x81658175
xor esi, 0x7e9a7e8a
xor eax, 0xffffffff
mov ecx, dword [esp + 0x94]
xor ecx, 0x21236d9b
xor ecx, 0x10634ed6
or esi, eax
or ecx, 0x3140234d
xor esi, 0xffffffff
and esi, ecx
mov eax, edx
xor eax, 0xffffffff
mov ecx, esi
xor ecx, 0xffffffff
mov edi, dword [esp + 0x94]
xor edi, 0xe8e0d028
mov ebx, eax
and ebx, 0xe8e0d028
and edx, edi
mov dword [esp + 0x7c], eax
mov eax, ecx
and eax, 0xe8e0d028
and esi, edi
or ebx, edx
or eax, esi
xor ebx, eax
mov eax, dword [esp + 0x7c]
or eax, ecx
xor eax, 0xffffffff
or edi, 0xe8e0d028
and eax, edi
or ebx, eax
mov dword [esp + 0xe8], ebx
mov eax, dword [esp + 0xf4]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xec]
sub ecx, 0xffffffec
mov edx, esp
call fcn.004d10b0
mov dword [edx], ecx
mov dword [edx + 4], 8
mov ecx, dword [esp + 0xbc]
call fcn.004da890
sub esp, 0xc
mov ecx, 0xffffffff
mov edx, dword [esp + 0xe8]
mov esi, eax
xor esi, 0xffffffff
mov edi, edx
xor edi, esi
and edi, edx
mov esi, edx
xor esi, 0xffffffff
mov ebx, eax
and ebx, esi
push ecx
mov ecx, 0xe596e59d
xor ecx, 0x1a691a62
xor eax, ecx
pop ecx
and edx, eax
or ebx, edx
mov eax, edi
xor eax, 0xffffffff
mov edx, ebx
xor edx, 0xffffffff
push ebx
mov ebx, 0x560657a0
xor ebx, 0x51e17c7e
xor ecx, ebx
pop ebx
mov esi, eax
and esi, 0x7e72bde
and edi, ecx
mov dword [esp + 0x78], eax
mov eax, edx
and eax, 0x7e72bde
and ebx, ecx
or esi, edi
or eax, ebx
xor esi, eax
mov eax, dword [esp + 0x78]
or eax, edx
xor eax, 0xffffffff
or ecx, 0x7e72bde
and eax, ecx
or esi, eax
mov dword [esp + 0xe8], esi
mov eax, dword [esp + 0xf4]
call fcn.004d10c0
mov ecx, dword [esp + 0xec]
add ecx, 0x1c
mov edx, 0x447cd8
mov edx, esp
mov dword [edx + 8], eax
mov dword [edx], ecx
mov dword [edx + 4], 0x10
mov ecx, dword [esp + 0xbc]
call fcn.004da890
sub esp, 0xc
mov ecx, 0xffffffff
mov edx, dword [esp + 0xe8]
mov esi, edx
xor esi, 0xffffffff
and esi, 0x59e541c1
mov edi, ecx
xor edi, 0x59e541c1
mov ebx, edx
and ebx, edi
mov dword [esp + 0x74], eax
mov eax, ecx
xor eax, 0xffffffff
and eax, 0x59e541c1
and edi, 0xffffffff
or esi, ebx
or eax, edi
xor esi, eax
mov eax, dword [esp + 0x74]
xor eax, 0xffffffff
and eax, 0xffffffff
mov edi, ecx
xor edi, 0xffffffff
mov ebx, dword [esp + 0x74]
and ebx, edi
or eax, ebx
mov edi, ecx
xor edi, 0x6f85b42d
and edi, 0x12a58dbf
mov ebx, ecx
xor ebx, 0x12a58dbf
mov dword [esp + 0x70], eax
mov eax, ecx
mov eax, ebx
and eax, 0x6f85b42d
mov dword [esp + 0x6c], eax
mov eax, ecx
xor eax, 0xffffffff
and eax, 0x12a58dbf
and ebx, 0xffffffff
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
or edi, eax
mov eax, dword [esp + 0x68]
or eax, ebx
xor edi, eax
mov eax, ebx
mov eax, ecx
xor eax, 0x6f85b42d
mov ebx, 0x447d14
mov ebx, esi
xor ebx, eax
and ebx, esi
mov eax, edi
xor eax, 0xffffffff
mov dword [esp + 0x64], eax
mov eax, edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x64]
xor eax, ecx
and eax, edx
mov ecx, dword [esp + 0x60]
xor ecx, 0x6f85b42d
mov edx, dword [esp + 0x70]
xor edx, ecx
mov ecx, dword [esp + 0x70]
and edx, ecx
mov ecx, edi
xor ecx, 0xffffffff
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x74]
xor eax, ecx
mov ecx, dword [esp + 0x74]
and eax, ecx
mov ecx, 0x7fff
mov ecx, ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
and ecx, eax
xor ebx, eax
or ecx, ebx
mov ebx, edx
xor ebx, 0xffffffff
mov eax, dword [esp + 0x58]
xor eax, 0xffffffff
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
xor eax, 0x87429564
mov dword [esp + 0x50], eax
mov eax, ebx
and eax, 0x87429564
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
and edx, eax
mov eax, dword [esp + 0x54]
and eax, 0x87429564
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x50]
and eax, ecx
mov ecx, dword [esp + 0x4c]
or ecx, edx
mov edx, dword [esp + 0x48]
or edx, eax
xor ecx, edx
mov eax, dword [esp + 0x54]
or ebx, eax
xor ebx, 0xffffffff
mov edx, dword [esp + 0x50]
or edx, 0x87429564
and ebx, edx
or ecx, ebx
mov edx, dword [esp + 0x44]
xor edx, 0xffffffff
and edx, 0x87cf0447
mov ebx, dword [esp + 0x60]
xor ebx, 0x87cf0447
mov eax, dword [esp + 0x44]
and eax, ebx
mov dword [esp + 0x40], eax
mov eax, ecx
xor eax, 0xffffffff
and eax, 0x87cf0447
and ecx, ebx
mov ebx, dword [esp + 0x40]
or edx, ebx
or eax, ecx
xor edx, eax
mov eax, esi
mov ecx, dword [esp + 0x70]
and eax, ecx
xor esi, ecx
or eax, esi
mov esi, eax
xor esi, 0xffffffff
and esi, 0xffffffff
mov ebx, dword [esp + 0x60]
xor ebx, 0xffffffff
and eax, ebx
or esi, eax
mov eax, ebx
mov eax, edi
and eax, 0x6f85b42d
xor edi, 0x6f85b42d
or eax, edi
xor esi, 0xffffffff
xor eax, 0xffffffff
mov edi, dword [esp + 0x60]
xor edi, 0xea232aec
or esi, eax
or edi, 0xea232aec
xor esi, 0xffffffff
and esi, edi
mov eax, edx
xor eax, 0xffffffff
mov edi, esi
xor edi, 0xffffffff
mov ebx, dword [esp + 0x60]
xor ebx, 0x4042d301
mov ecx, 0x447b40
mov ecx, eax
and ecx, 0x4042d301
and edx, ebx
mov dword [esp + 0x3c], eax
mov eax, 0x7ff
mov eax, edi
and eax, 0x4042d301
and esi, ebx
or ecx, edx
or eax, esi
xor ecx, eax
mov eax, dword [esp + 0x3c]
or eax, edi
xor eax, 0xffffffff
or ebx, 0x4042d301
and eax, ebx
or ecx, eax
mov dword [esp + 0xe8], ecx
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xe4], eax
cmp dword [esp + 0xe4], 0
jne 0x4d0be5
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x58]
mov edx, dword [esp + 0xf4]
mov edx, dword [edx + 0x30]
mov esi, esp
mov dword [esi], edx
lea edx, [esp + 0xc8]
mov dword [esp + 0x38], ecx
mov ecx, edx
call fcn.004772c0
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx], edx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x34], eax
call fcn.004cfc90
sub esp, 4
mov dword [esp + 0x30], eax
mov eax, 0
mov ecx, 0xffffffff
mov edx, ecx
xor edx, 0x1f
and edx, 0x6de679b4
mov esi, ecx
xor esi, 0x6de679b4
mov edi, esi
and edi, 0x1f
mov ebx, ecx
xor ebx, 0xffffffff
and ebx, 0x6de679b4
and esi, 0xffffffff
or edx, edi
or ebx, esi
xor edx, ebx
mov esi, dword [esp + 0x30]
xor esi, 0xffffffff
and esi, 0x85878f3c
xor ecx, 0x85878f3c
mov edi, dword [esp + 0x30]
and edi, ecx
mov ebx, 0x447cd8
mov ebx, edx
xor ebx, 0xffffffff
and ebx, 0x85878f3c
and edx, ecx
or esi, edi
or ebx, edx
xor esi, ebx
mov ecx, dword [esp + 0x30]
xor ecx, 0xffffffff
mov edx, 0x447b40
mov edx, esi
xor edx, ecx
and edx, esi
shl edx, 3
mov ecx, dword [esp + 0x38]
sub ecx, 0x90db260c
sub ecx, 0xa2f7d8ba
add ecx, 0x90db260c
mov esi, eax
sub esi, ecx
mov ecx, eax
sub ecx, edx
add esi, ecx
mov ecx, eax
sub ecx, esi
mov edx, 0x447bdc
mov edx, eax
sub edx, ecx
mov ecx, eax
sub ecx, 0xa2f7d8ba
add edx, ecx
sub eax, edx
call fcn.004d10d0
lea ecx, [esp + 0xc8]
mov dword [esp + 0x2c], eax
call fcn.004101e0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xf4]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0xe0]
mov esi, esp
mov dword [esi + 8], ecx
mov dword [esi], edx
mov dword [esi + 4], 0x3c
mov ecx, dword [esp + 0xbc]
call fcn.004da890
sub esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4d0eba
mov al, 1
mov ecx, 0
call fcn.004d10e0
mov esi, dword [0x80a090]
mov edi, ecx
sub edi, edx
mov ebx, ecx
sub ebx, 0x5cd533e7
add edi, ebx
mov ebx, ecx
sub ebx, edi
add ecx, 0xffffffff
add ebx, ecx
sub ebx, 0x307c56e3
add ebx, 0xa32acc19
add ebx, 0x307c56e3
imul edx, ebx
and edx, 1
cmp edx, 0
sete ah
cmp esi, 0xa
setl cl
mov ch, ah
xor ch, 1
and ch, 1
mov dl, al
xor dl, 1
mov dh, ah
and dh, dl
mov bl, al
xor bl, 1
and bl, 1
and dl, 1
or ch, dh
or bl, dl
xor ch, bl
mov dl, cl
xor dl, 1
and dl, 1
mov dh, al
xor dh, 1
mov bl, cl
and bl, dh
or dl, bl
mov dh, al
xor dh, 1
and dh, 1
mov bl, al
xor bl, 1
mov bh, bl
and bh, 1
mov byte [esp + 0x27], al
xor al, 1
and al, 1
and bl, 1
or dh, bh
or al, bl
xor dh, al
mov al, byte [esp + 0x27]
xor al, 1
mov bl, ch
xor bl, al
and bl, ch
mov al, dh
xor al, 1
mov bh, ah
xor bh, al
and bh, ah
mov al, byte [esp + 0x27]
xor al, 1
mov ah, dl
xor ah, al
and ah, dl
mov al, dh
xor al, 1
mov byte [esp + 0x26], al
mov al, cl
mov byte [esp + 0x25], cl
mov cl, byte [esp + 0x26]
xor al, cl
mov cl, byte [esp + 0x25]
and al, cl
mov cl, bl
xor cl, 1
mov byte [esp + 0x24], al
mov al, bh
xor al, 1
mov byte [esp + 0x23], al
mov al, byte [esp + 0x27]
xor al, 1
mov byte [esp + 0x22], al
mov al, cl
and al, 1
mov byte [esp + 0x21], al
mov al, byte [esp + 0x22]
and bl, al
mov al, byte [esp + 0x23]
and al, 1
mov byte [esp + 0x20], al
mov al, byte [esp + 0x22]
and bh, al
mov al, byte [esp + 0x21]
or al, bl
mov bl, byte [esp + 0x20]
or bl, bh
xor al, bl
mov bl, byte [esp + 0x23]
or cl, bl
xor cl, 1
mov bh, byte [esp + 0x22]
or bh, 1
and cl, bh
or al, cl
mov cl, ah
mov bh, byte [esp + 0x24]
and cl, bh
xor ah, bh
or cl, ah
mov ah, al
xor ah, 1
mov bl, cl
and bl, ah
xor cl, 1
and al, cl
or bl, al
mov al, ch
xor al, 1
mov cl, dl
xor cl, 1
mov ah, byte [esp + 0x27]
xor ah, 0
mov bh, al
and bh, 0
and ch, ah
mov byte [esp + 0x1f], al
mov al, cl
and al, 0
and dl, ah
or bh, ch
or al, dl
xor bh, al
mov al, byte [esp + 0x1f]
or al, cl
xor al, 1
or ah, 0
and al, ah
or bh, al
mov al, bh
xor al, 1
and al, 1
mov cl, byte [esp + 0x27]
xor cl, 1
and bh, cl
or al, bh
mov cl, dh
and cl, 1
xor dh, 1
or cl, dh
xor al, 1
xor cl, 1
mov dl, byte [esp + 0x27]
xor dl, 1
or al, cl
or dl, 1
xor al, 1
and al, dl
mov cl, bl
xor cl, 1
mov dl, al
xor dl, 1
mov ah, byte [esp + 0x27]
xor ah, 1
mov ch, cl
and ch, 1
and bl, ah
mov dh, dl
and dh, 1
and al, ah
or ch, bl
or dh, al
xor ch, dh
or cl, dl
xor cl, 1
or ah, 1
and cl, ah
or ch, cl
test ch, 1
jne 0x4d0dee
jmp 0x4d1071
mov eax, dword [esp + 0xe4]
sub eax, 0xffffffc4
mov ecx, 0x800
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0xbc]
call fcn.004d1120
sub esp, 4
mov dl, 1
mov eax, 0
mov ecx, dword [0x80a094]
mov esi, dword [0x80a090]
sub eax, 0x66094387
mov edi, ecx
add edi, eax
sub edi, 0xbce920a9
add edi, 0xffffffff
add edi, 0xbce920a9
sub edi, 0x49c45c33
add edi, 0x66094387
sub edi, 0xb63ba3cd
imul ecx, edi
and ecx, 1
push edx
mov edx, 0xa827951b
xor edx, 0xa827951b
cmp ecx, edx
pop edx
sete dh
cmp esi, 0xa
setl bl
mov bh, bl
xor bh, 1
mov al, dh
xor al, bh
and al, dh
mov bh, dh
xor bh, 1
and bh, 1
xor dl, 1
and dh, dl
mov ah, bl
xor ah, 1
and ah, 1
and bl, dl
or bh, dh
or ah, bl
xor bh, ah
mov dl, al
and dl, bh
xor al, bh
or dl, al
test dl, 1
jne 0x4d0eb5
jmp 0x4d1071
jmp 0x4d0eba
cmp dword [esp + 0xe4], 0
je 0x4d1046
mov eax, 0xffffffff
mov ecx, dword [esp + 0xbc]
call fcn.004d10f0
mov esi, edx
xor esi, 0xffffffff
and esi, 0xffffffff
mov edi, eax
xor edi, 0xffffffff
and edx, edi
or esi, edx
mov edx, eax
xor edx, 8
and edx, 0xffffffff
mov edi, eax
xor edi, 0xffffffff
and edi, 8
or edx, edi
mov edi, eax
xor edi, 0xfeb47648
and edi, 0x4e8ff8e0
mov ebx, eax
xor ebx, 0x4e8ff8e0
mov ecx, 0x7fff
mov ecx, ebx
and ecx, 0xfeb47648
mov dword [esp + 0x18], eax
xor eax, 0xffffffff
and eax, 0x4e8ff8e0
and ebx, 0xffffffff
or edi, ecx
or eax, ebx
xor edi, eax
mov eax, esi
xor eax, 0xffffffff
mov ecx, edx
xor ecx, 0xffffffff
mov ebx, dword [esp + 0x18]
xor ebx, 0xa09b8208
mov dword [esp + 0x14], eax
and eax, 0xa09b8208
and esi, ebx
mov dword [esp + 0x10], eax
mov eax, ecx
and eax, 0xa09b8208
and edx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
or eax, esi
mov esi, dword [esp + 0xc]
or esi, edx
xor eax, esi
mov edx, dword [esp + 0x14]
or edx, ecx
xor edx, 0xffffffff
or ebx, 0xa09b8208
and edx, ebx
or eax, edx
mov ecx, edi
and ecx, 0xfeb47648
xor edi, 0xfeb47648
or ecx, edi
mov edx, eax
xor edx, 0xffffffff
and edx, 0x3cefac0a
mov esi, dword [esp + 0x18]
xor esi, 0x3cefac0a
and eax, esi
mov edi, dword [esp + 0x18]
xor edi, 0xffffffff
and edi, 0x3cefac0a
and esi, 0xffffffff
or edx, eax
or edi, esi
xor edx, edi
xor edx, 0xffffffff
xor ecx, 0xffffffff
mov eax, dword [esp + 0x18]
xor eax, 0x236edd33
xor eax, 0x1aa1e05a
or edx, ecx
or eax, 0x39cf3d69
xor edx, 0xffffffff
and edx, eax
cmp edx, 0
je 0x4d1046
mov eax, dword [esp + 0xe4]
mov ecx, 0x447bdc
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0xbc]
call fcn.004a9930
sub esp, 4
cmp dword [esp + 0xe4], 0
setne al
and al, 1
movzx ecx, al
mov dword [esp + 0xf8], ecx
mov eax, dword [esp + 0xf8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0xe4]
add eax, 0x3c
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0xbc]
call fcn.004d1120
sub esp, 4
jmp 0x4d0dee