Function at 0x4bf970
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [0x5213fc]
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
mov dword [0x52140c], 0xf4240
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4bf9a0
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [0x51ff6c]
lea edi, [eax + esi*2 - 8]
cmp esi, 4
jb 0x4bfa23
cmp word [edi], 0x2e
jne 0x4bfa23
movzx ecx, word [edi + 2]
push ecx
call fcn.004c4aa4
add esp, 4
cmp eax, 0x5a
jne 0x4bfa23
movzx eax, word [edi + 4]
cmp ax, 0x30
jb 0x4bfa23
cmp ax, 0x39
ja 0x4bfa23
movzx eax, word [edi + 6]
cmp ax, 0x30
jb 0x4bfa23
cmp ax, 0x39
ja 0x4bfa23
cmp esi, 4
je 0x4bfa0c
movzx eax, word [edi + 8]
cmp ax, 0x30
jb 0x4bfa23
cmp ax, 0x39
ja 0x4bfa23
pop edi
pop esi
mov eax, 3
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x40
ret
mov edx, dword [0x5213fc]
push ebx
push 0x4da470
push edx
call fcn.004c4e68
add esp, 8
mov dword [0x5213f8], eax
cmp eax, ebp
jne 0x4bfa5c
mov eax, dword [0x5213fc]
push eax
push ebp
mov ecx, 0x51ff10
call fcn.00434300
mov eax, dword [0x52140c]
jmp 0x4bfd9c
push 2
push 0xffffffffffffffff
push 0xfffc0000
push eax
call fcn.004c533e
add esp, 0x10
test eax, eax
je 0x4bfacf
mov ecx, dword [0x5213f8]
push ebp
push ebp
push ebp
push ecx
call fcn.004c533e
add esp, 0x10
test eax, eax
je 0x4bfacf
mov edx, dword [0x5213f8]
push edx
call fcn.004c4622
mov eax, dword [0x5213fc]
add esp, 4
push eax
push 0x205
mov dword [0x5213f8], ebp
call fcn.00475cc0
push eax
push ebp
call fcn.004adf30
add esp, 0xc
pop ebx
pop edi
pop esi
mov eax, 0xb
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x40
ret
mov eax, dword [0x5213f8]
mov edi, 0x4e0a94
call fcn.004bc2e0
test eax, eax
je 0x4bfc38
mov ecx, dword [0x5213f8]
push ecx
call fcn.004c56d9
mov esi, eax
mov eax, dword [0x5213f8]
add esp, 4
mov ebx, edx
call fcn.004bc2e0
test eax, eax
je 0x4bfb36
jmp 0x4bfb10
mov edx, dword [0x5213f8]
push edx
call fcn.004c56d9
mov esi, eax
mov eax, dword [0x5213f8]
add esp, 4
mov edi, 0x4e0a94
mov ebx, edx
call fcn.004bc2e0
test eax, eax
jne 0x4bfb10
mov eax, dword [0x5213f8]
push ebp
push ebx
push esi
push eax
call fcn.004c533e
add esp, 0x10
test eax, eax
jne 0x4bfc5a
mov eax, dword [0x5213f8]
push eax
push 0x12
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004c5285
add esp, 0x10
cmp eax, 0x12
jb 0x4bfc38
movzx dx, byte [esp + 0x21]
movzx ecx, byte [esp + 0x20]
shl dx, 8
movzx eax, dx
or eax, ecx
inc eax
lea edx, [eax - 1]
mov dword [0x52140c], eax
mov dword [0x521410], edx
cmp eax, 0x10000
jae 0x4bfbbc
movzx cx, byte [esp + 0x23]
shl cx, 8
movzx edx, cx
movzx ecx, byte [esp + 0x22]
or edx, ecx
cmp edx, eax
jbe 0x4bfbbc
mov dword [0x52140c], ebp
jmp 0x4bfc45
movzx cx, byte [esp + 0x31]
movzx dx, byte [esp + 0x30]
shl cx, 8
or cx, dx
mov word [0x51ff64], cx
je 0x4bfc3d
movzx eax, cx
inc eax
push eax
call fcn.004c2cc7
add esp, 4
mov dword [0x521498], eax
cmp eax, ebp
je 0x4c0646
mov ecx, dword [0x5213f8]
movzx edx, word [0x51ff64]
push ecx
push 1
push edx
push eax
call fcn.004c5285
add esp, 0x10
cmp eax, 1
je 0x4bfc27
mov eax, dword [0x521498]
push eax
call fcn.004c23c4
add esp, 4
mov dword [0x521498], ebp
jmp 0x4bfc38
movzx ecx, word [0x51ff64]
mov edx, dword [0x521498]
mov byte [ecx + edx], 0
mov eax, dword [0x52140c]
cmp eax, ebp
jne 0x4bfd77
mov eax, dword [0x5213f8]
push ebp
push ebp
push ebp
push eax
call fcn.004c533e
add esp, 0x10
test eax, eax
je 0x4bfca2
mov ecx, dword [0x5213f8]
push ecx
call fcn.004c4622
mov edx, dword [0x5213fc]
add esp, 4
push edx
push 0x205
mov dword [0x5213f8], ebp
call fcn.00475cc0
push eax
push ebp
call fcn.004adf30
add esp, 0xc
pop ebx
pop edi
pop esi
mov eax, 0xb
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x40
ret
mov esi, dword [0x5213f8]
call fcn.004bc220
mov esi, eax
cmp esi, ebp
je 0x4bfd72
mov eax, dword [0x5213f8]
push eax
call fcn.004c56d9
add esp, 4
mov dword [0x521418], eax
mov dword [0x52141c], edx
cmp eax, 4
jne 0x4bfd48
cmp edx, ebp
jne 0x4bfd4a
mov ecx, 0x4e0aac
mov edx, 0x5897e4
call fcn.004bc350
test eax, eax
je 0x4bfd53
mov esi, dword [0x5213f8]
call fcn.004bc220
mov esi, eax
mov eax, dword [0x52140c]
cmp esi, ebp
je 0x4bfd77
cmp eax, ebp
jne 0x4bfd77
mov ecx, dword [0x5213f8]
push ecx
call fcn.004c56d9
add esp, 4
mov dword [0x521418], eax
mov dword [0x52141c], edx
cmp eax, 8
jne 0x4bfd72
cmp edx, ebp
jne 0x4bfd72
mov ecx, 0x4e0a9c
mov edx, 0x5897e4
call fcn.004bc350
test eax, eax
je 0x4bfd72
mov eax, 1
mov dword [0x52140c], eax
jmp 0x4bfd77
cmp edx, ebp
ja 0x4bfcf9
jb 0x4bfd53
cmp eax, 4
ja 0x4bfcf9
mov ecx, 0x4e0aac
mov edx, 0x5897e4
call fcn.004bc350
test eax, eax
je 0x4bfcf9
mov eax, 0x1869f
mov dword [0x52140c], eax
jmp 0x4bfcfe
mov eax, dword [0x52140c]
cmp dword [0x4ea608], ebp
jne 0x4bfd8b
mov eax, 1
mov dword [0x52140c], eax
jmp 0x4bfdc2
cmp eax, 0xf4240
jne 0x4bfd9c
mov eax, 1
mov dword [0x52140c], eax
cmp dword [0x4ea608], ebp
je 0x4bfdc2
mov ecx, dword [0x5213f8]
cmp ecx, ebp
je 0x4bfdc2
push ecx
call fcn.004c4622
mov eax, dword [0x52140c]
add esp, 4
mov dword [0x5213f8], ebp
xor ecx, ecx
mov dword [0x521410], ecx
cmp eax, ebp
jbe 0x4c05de
mov edx, dword [0x5213fc]
push ecx
push edx
call fcn.0043f430
mov ebx, eax
mov eax, dword [0x5213f8]
mov dword [esp + 0x18], ebx
cmp eax, ebp
jne 0x4bfe5b
push 0x4da470
push ebx
call fcn.004c4e68
add esp, 8
mov dword [0x5213f8], eax
cmp eax, ebp
jne 0x4bfe5b
mov eax, dword [0x521410]
push eax
call fcn.0043fd80
cmp eax, 9
je 0x4c05f3
cmp eax, 2
je 0x4c0617
cmp eax, 3
je 0x4c05c5
mov ecx, dword [0x521410]
mov edx, dword [0x5213fc]
push ecx
push edx
call fcn.0043f430
mov ebx, eax
push 0x4da470
push ebx
mov dword [esp + 0x20], ebx
call fcn.004c4e68
add esp, 8
mov dword [0x5213f8], eax
cmp eax, ebp
je 0x4bfe05
mov esi, eax
call fcn.004bc220
test eax, eax
je 0x4c059d
lea ebx, [ebx]
mov eax, dword [0x5213f8]
push eax
call fcn.004c56d9
add esp, 4
mov dword [0x521418], eax
mov dword [0x52141c], edx
xor eax, eax
jmp 0x4bfe90
mov cl, byte [eax + 0x5897e4]
cmp cl, byte [eax + 0x4e0a94]
jne 0x4bfea4
inc eax
cmp eax, 4
jl 0x4bfe90
cmp eax, 4
je 0x4c0584
xor eax, eax
nop
mov dl, byte [eax + 0x5897e4]
cmp dl, byte [eax + 0x4e0a7c]
jne 0x4bfec4
inc eax
cmp eax, 4
jl 0x4bfeb0
cmp eax, 4
je 0x4c0584
xor eax, eax
nop
mov cl, byte [eax + 0x5897e4]
cmp cl, byte [eax + 0x4e0a84]
jne 0x4bfee4
inc eax
cmp eax, 4
jl 0x4bfed0
cmp eax, 4
je 0x4c0584
xor eax, eax
nop
mov dl, byte [eax + 0x5897e4]
cmp dl, byte [eax + 0x4e0a9c]
jne 0x4bff04
inc eax
cmp eax, 4
jl 0x4bfef0
cmp eax, 4
jne 0x4c0001
push 0x80
call fcn.004c2cc7
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x4c0646
xor eax, eax
xor ecx, ecx
xor edx, edx
push esi
mov word [esi], ax
mov word [esi + 2], cx
mov word [esi + 4], dx
mov word [esi + 6], ax
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov word [esi + 0x20], cx
mov word [esi + 0x24], dx
mov word [esi + 0x26], ax
mov dword [esi + 0x28], ebp
mov word [esi + 0x2c], cx
mov dword [esi + 0x38], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
call fcn.004be920
mov edx, dword [esi + 0x54]
mov edi, eax
push edx
mov dword [esp + 0x18], edi
call fcn.0047fd10
push eax
push 0x268
call fcn.00475cc0
push eax
call fcn.004a09e0
add esp, 8
call fcn.00453df0
cmp byte [0x535c28], 0
jne 0x4c05ff
cmp dword [esp + 0x10], ebp
je 0x4bffc7
mov dword [esp + 0x10], ebp
cmp edi, 2
je 0x4c059d
cmp dword [esp + 0x14], ebp
jne 0x4c0584
inc dword [0x51ff68]
mov eax, 0x521490
cmp dword [0x521490], ebp
je 0x4bfff1
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
lea eax, [esi + 0x78]
mov dword [eax], ebp
mov dword [esp + 0x1c], eax
jmp 0x4c0584
xor eax, eax
jmp 0x4c0010
mov cl, byte [eax + 0x5897e4]
cmp cl, byte [eax + 0x4e0a8c]
jne 0x4c0024
inc eax
cmp eax, 4
jl 0x4c0010
cmp eax, 4
jne 0x4c055b
cmp dword [esp + 0x10], ebp
jne 0x4c0099
mov ecx, dword [0x51ff68]
cmp ecx, ebp
je 0x4c0099
lea eax, [ecx*4]
mov edx, eax
shr edx, 2
cmp edx, ecx
jne 0x4c0646
push eax
call fcn.004c2cc7
add esp, 4
mov dword [0x51ff60], eax
cmp eax, ebp
je 0x4c0646
mov ecx, dword [0x521490]
cmp ecx, ebp
je 0x4c0082
mov dword [eax], ecx
mov ecx, dword [ecx + 0x78]
add eax, 4
cmp ecx, ebp
jne 0x4c0071
mov eax, dword [0x51ff60]
mov ecx, dword [0x51ff68]
push 0x4bae20
push 4
push ecx
push eax
call fcn.004c27c0
add esp, 0x10
mov edx, dword [0x5213f8]
push edx
push 1
lea eax, [esp + 0x28]
push 0x2a
push eax
mov dword [esp + 0x20], 1
call fcn.004c5285
add esp, 0x10
cmp eax, 1
jne 0x4c0584
push 0x80
call fcn.004c2cc7
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x4c0646
movzx ecx, byte [esp + 0x21]
movzx edx, byte [esp + 0x20]
movzx eax, byte [esp + 0x23]
shl cx, 8
or cx, dx
movzx edx, byte [esp + 0x25]
mov word [esi], cx
movzx ecx, byte [esp + 0x22]
shl ax, 8
or ax, cx
movzx ecx, byte [esp + 0x27]
mov word [esi + 2], ax
movzx eax, byte [esp + 0x24]
shl dx, 8
or dx, ax
movzx eax, byte [esp + 0x2b]
mov word [esi + 4], dx
movzx edx, byte [esp + 0x26]
shl cx, 8
or cx, dx
movzx edx, byte [esp + 0x2a]
shl ax, 8
mov word [esi + 6], cx
movzx ecx, ax
movzx eax, byte [esp + 0x29]
or ecx, edx
shl ax, 8
movzx edx, ax
movzx eax, byte [esp + 0x28]
shl ecx, 0x10
or ecx, edx
or ecx, eax
movzx eax, byte [esp + 0x2e]
mov dword [esi + 8], ecx
movzx ecx, byte [esp + 0x2f]
shl cx, 8
movzx edx, cx
movzx ecx, byte [esp + 0x2d]
or edx, eax
shl cx, 8
movzx eax, cx
movzx ecx, byte [esp + 0x2c]
shl edx, 0x10
or edx, eax
or edx, ecx
movzx ecx, byte [esp + 0x32]
mov dword [esi + 0xc], edx
movzx edx, byte [esp + 0x33]
shl dx, 8
movzx eax, dx
movzx edx, byte [esp + 0x31]
or eax, ecx
shl eax, 0x10
shl dx, 8
movzx ecx, dx
movzx edx, byte [esp + 0x30]
or eax, ecx
or eax, edx
movzx edx, byte [esp + 0x36]
mov dword [esi + 0x10], eax
movzx eax, byte [esp + 0x37]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x35]
or ecx, edx
shl ax, 8
movzx edx, ax
movzx eax, byte [esp + 0x34]
shl ecx, 0x10
or ecx, edx
movzx edx, byte [esp + 0x3b]
or ecx, eax
movzx ax, byte [esp + 0x39]
mov dword [esi + 0x18], ecx
movzx ecx, byte [esp + 0x38]
shl ax, 8
or ax, cx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
mov word [esi + 0x20], ax
shl dx, 8
movzx ecx, byte [esp + 0x3a]
or dx, cx
movzx ecx, byte [esp + 0x3c]
mov word [esi + 0x24], dx
movzx edx, byte [esp + 0x3d]
shl dx, 8
or dx, cx
mov word [esi + 0x26], dx
movzx edx, byte [esp + 0x3f]
shl dx, 8
movzx ecx, dx
movzx edx, byte [esp + 0x3e]
or ecx, edx
movzx edx, byte [esp + 0x40]
mov dword [esi + 0x28], ecx
movzx ecx, byte [esp + 0x41]
shl cx, 8
or cx, dx
mov word [esi + 0x2c], cx
movzx ecx, byte [esp + 0x45]
shl cx, 8
movzx edx, cx
movzx ecx, byte [esp + 0x44]
or edx, ecx
movzx ecx, byte [esp + 0x43]
shl cx, 8
shl edx, 0x10
movzx ecx, cx
or edx, ecx
movzx ecx, byte [esp + 0x42]
or edx, ecx
mov dword [esi + 0x38], edx
movzx edx, byte [esp + 0x49]
shl dx, 8
movzx ecx, dx
movzx edx, byte [esp + 0x48]
or ecx, edx
movzx edx, byte [esp + 0x47]
shl dx, 8
movzx edx, dx
shl ecx, 0x10
or ecx, edx
movzx edx, byte [esp + 0x46]
or ecx, edx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
cmp ax, bp
je 0x4c0584
movzx eax, ax
inc eax
push eax
call fcn.004c2cc7
mov edi, eax
add esp, 4
mov dword [esi + 0x4c], edi
cmp edi, ebp
je 0x4c0646
movzx ebx, word [esi + 0x24]
cmp bx, bp
je 0x4c0313
movzx ecx, bx
inc ecx
push ecx
call fcn.004c2cc7
add esp, 4
mov dword [esi + 0x44], eax
cmp eax, ebp
je 0x4c0646
movzx ebp, word [esi + 0x26]
test bp, bp
je 0x4c0334
movzx edx, bp
inc edx
push edx
call fcn.004c2cc7
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
je 0x4c0646
mov eax, dword [0x5213f8]
movzx ecx, word [esi + 0x20]
push eax
push 1
push ecx
push edi
call fcn.004c5285
add esp, 0x10
cmp eax, 1
jne 0x4c0584
test bx, bx
je 0x4c0379
mov edx, dword [0x5213f8]
mov ecx, dword [esi + 0x44]
push edx
push eax
movzx eax, bx
push eax
push ecx
call fcn.004c5285
add esp, 0x10
cmp eax, 1
jne 0x4c0584
test bp, bp
je 0x4c03a0
mov edx, dword [0x5213f8]
mov ecx, dword [esi + 0x48]
push edx
movzx eax, bp
push 1
push eax
push ecx
call fcn.004c5285
add esp, 0x10
cmp eax, 1
jne 0x4c0584
movzx edx, word [esi + 0x20]
push edi
mov byte [edx + edi], 0
call fcn.004baee0
mov edi, eax
test edi, edi
je 0x4c0584
mov eax, dword [edi + 8]
cmp eax, dword [esi + 8]
jne 0x4c0584
cmp dword [edi + 0x58], 0
movzx ecx, word [esi]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
mov word [edi], cx
movzx ecx, word [esi + 0x2c]
mov dword [edi + 0x44], edx
mov edx, dword [esi + 0x38]
mov word [edi + 0x24], bx
mov word [edi + 0x26], bp
mov dword [edi + 0x48], eax
mov word [edi + 0x2c], cx
mov dword [edi + 0x38], edx
jne 0x4c041f
mov eax, 0x800
test word [edi + 4], ax
je 0x4c0419
mov ecx, dword [edi + 0x4c]
push ecx
call fcn.004d225b
add esp, 4
mov dword [edi + 0x58], eax
test eax, eax
jne 0x4c041f
push 4
call fcn.004b8b90
jmp 0x4c041f
push edi
call fcn.004bb300
movzx eax, word [edi]
movzx ecx, al
shr ax, 8
test ax, ax
jne 0x4c0446
test dword [edi + 0x38], 0xffff0000
je 0x4c0457
cmp ecx, 0x19
je 0x4c0446
cmp ecx, 0x1a
je 0x4c0446
cmp ecx, 0x28
jne 0x4c0457
cmp ax, 6
je 0x4c0457
cmp ax, 0xb
jne 0x4c0462
cmp ecx, 0x32
jne 0x4c0462
mov eax, dword [edi + 0x4c]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
movzx eax, word [edi]
movzx ecx, al
shr ax, 8
test ax, ax
jne 0x4c0489
test dword [edi + 0x38], 0xffff0000
je 0x4c049a
cmp ecx, 0x19
je 0x4c0489
cmp ecx, 0x1a
je 0x4c0489
cmp ecx, 0x28
jne 0x4c049a
cmp ax, 6
je 0x4c049a
cmp ax, 0xb
jne 0x4c04a5
cmp ecx, 0x32
jne 0x4c04a5
mov eax, dword [edi + 0x48]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov edx, dword [0x5213f4]
push edx
call fcn.004c56d9
mov ecx, dword [edi + 0x30]
mov esi, eax
mov eax, dword [edi + 0x34]
push 0
push eax
mov ebx, edx
mov edx, dword [0x5213f4]
push ecx
push edx
call fcn.004c533e
add esp, 0x14
test eax, eax
jne 0x4c062f
movzx eax, word [edi + 0x22]
mov ecx, dword [edi + 0x40]
push eax
push ecx
push 1
call fcn.004bb160
neg eax
sbb eax, eax
push 1
neg eax
push edi
mov dword [0x5213dc], eax
call fcn.004bda40
mov edx, dword [0x5213f4]
push 0
push ebx
push esi
push edx
call fcn.004c533e
add esp, 0x10
test eax, eax
jne 0x4c063b
mov eax, dword [0x5213f4]
push eax
call fcn.004c56d9
add esp, 4
cmp esi, eax
jne 0x4c052a
cmp ebx, edx
je 0x4c0584
mov ecx, dword [0x5213f8]
push ecx
call fcn.004c4622
add esp, 4
pop ebx
pop edi
pop esi
mov dword [0x5213f8], 0
mov eax, 0xe
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x40
ret
cmp dword [0x521490], ebp
jne 0x4c0584
xor eax, eax
jmp 0x4c0570
mov cl, byte [eax + 0x5897e4]
cmp cl, byte [eax + str.PK_a_b]
jne 0x4c0584
inc eax
cmp eax, 4
jl 0x4c0570
mov esi, dword [0x5213f8]
call fcn.004bc220
mov ebx, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
jne 0x4bfe70
mov eax, dword [0x5213f8]
cmp eax, ebp
je 0x4c05af
push eax
call fcn.004c4622
add esp, 4
push ebx
mov dword [0x5213f8], ebp
call fcn.004c23c4
add esp, 4
cmp dword [esp + 0x14], 2
je 0x4c05de
mov ecx, dword [0x521410]
inc ecx
mov dword [0x521410], ecx
cmp ecx, dword [0x52140c]
jb 0x4bfdd2
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x40
ret
push ebx
push ebp
mov ecx, 0x51ff10
call fcn.00434300
pop ebx
pop edi
pop esi
mov eax, 9
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x40
ret
pop ebx
pop edi
pop esi
mov eax, 2
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x40
ret
mov edx, dword [0x5213f8]
push edx
jmp 0x4c0531
mov eax, dword [0x5213f8]
push eax
jmp 0x4c0531
mov ecx, dword [esp + 0x4c]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 4
call fcn.004c1c22
add esp, 0x40
ret